Package io.atlasmap.json.module
Class JsonValidationService
java.lang.Object
io.atlasmap.core.validate.BaseModuleValidationService<JsonField>
io.atlasmap.json.module.JsonValidationService
- All Implemented Interfaces:
AtlasValidationService
-
Constructor Summary
ConstructorDescriptionJsonValidationService
(AtlasConversionService conversionService, AtlasFieldActionService fieldActionService) -
Method Summary
Modifier and TypeMethodDescriptionvoid
destroy()
protected AtlasModuleDetail
protected String
getModuleFieldName
(JsonField field) void
init()
protected void
validateModuleField
(String mappingId, JsonField field, FieldDirection direction, List<Validation> validations) Methods inherited from class io.atlasmap.core.validate.BaseModuleValidationService
getConversionService, getDocId, getFieldActionService, getFieldName, getMappingFieldPairValidator, getMode, matchDocIdOrNull, setConversionService, setDocId, setMappingFieldPairValidator, setMode, validateCombineMapping, validateCustomMapping, validateField, validateFieldCombinations, validateFieldGroup, validateMapMapping, validateMapping, validateMappingEntries, validateSeparateMapping
-
Constructor Details
-
JsonValidationService
public JsonValidationService(AtlasConversionService conversionService, AtlasFieldActionService fieldActionService)
-
-
Method Details
-
init
public void init() -
destroy
public void destroy() -
getModuleDetail
- Specified by:
getModuleDetail
in classBaseModuleValidationService<JsonField>
-
getFieldType
- Specified by:
getFieldType
in classBaseModuleValidationService<JsonField>
-
getModuleFieldName
- Specified by:
getModuleFieldName
in classBaseModuleValidationService<JsonField>
-
validateModuleField
protected void validateModuleField(String mappingId, JsonField field, FieldDirection direction, List<Validation> validations) - Specified by:
validateModuleField
in classBaseModuleValidationService<JsonField>
-