Package io.atlasmap.core.validate
Class BaseModuleValidationService<T extends Field>
java.lang.Object
io.atlasmap.core.validate.BaseModuleValidationService<T>
- All Implemented Interfaces:
AtlasValidationService
- Direct Known Subclasses:
CsvValidationService
,JavaValidationService
,JsonValidationService
,XmlValidationService
public abstract class BaseModuleValidationService<T extends Field>
extends Object
implements AtlasValidationService
-
Constructor Summary
ConstructorDescriptionBaseModuleValidationService
(AtlasConversionService conversionService, AtlasFieldActionService fieldActionService) -
Method Summary
Modifier and TypeMethodDescriptionprotected AtlasConversionService
getDocId()
protected AtlasFieldActionService
protected String
getFieldName
(Field field) protected MappingFieldPairValidator
getMode()
protected abstract AtlasModuleDetail
protected abstract String
getModuleFieldName
(T field) protected boolean
matchDocIdOrNull
(String docId) protected void
setConversionService
(AtlasConversionService conversionService) void
protected void
void
setMode
(AtlasModuleMode mode) protected void
validateCombineMapping
(Mapping mapping, List<Validation> validations) Deprecated.protected void
validateCustomMapping
(CustomMapping mapping, List<Validation> validations) protected void
validateField
(String mappingId, Field sourceField, Field targetField, FieldDirection direction, List<Validation> validations) protected void
validateFieldCombinations
(Mapping mapping, List<Validation> validations) protected void
validateFieldGroup
(String mappingId, FieldGroup fieldGroup, FieldDirection direction, List<Validation> validations) protected void
validateMapMapping
(Mapping mapping, List<Validation> validations) validateMapping
(AtlasMapping mapping) protected void
validateMappingEntries
(List<BaseMapping> mappings, List<Validation> validations) protected abstract void
validateModuleField
(String mappingId, T field, FieldDirection direction, List<Validation> validation) protected void
validateSeparateMapping
(Mapping mapping, List<Validation> validations) Deprecated.
-
Constructor Details
-
BaseModuleValidationService
public BaseModuleValidationService() -
BaseModuleValidationService
public BaseModuleValidationService(AtlasConversionService conversionService, AtlasFieldActionService fieldActionService)
-
-
Method Details
-
setMode
-
getMode
-
setDocId
-
getDocId
-
getModuleDetail
-
validateMapping
- Specified by:
validateMapping
in interfaceAtlasValidationService
-
validateMappingEntries
-
validateMapMapping
-
validateCustomMapping
-
validateFieldGroup
protected void validateFieldGroup(String mappingId, FieldGroup fieldGroup, FieldDirection direction, List<Validation> validations) -
validateFieldCombinations
-
validateField
protected void validateField(String mappingId, Field sourceField, Field targetField, FieldDirection direction, List<Validation> validations) -
getFieldType
-
validateModuleField
protected abstract void validateModuleField(String mappingId, T field, FieldDirection direction, List<Validation> validation) -
matchDocIdOrNull
-
getFieldName
-
getModuleFieldName
-
getConversionService
-
getFieldActionService
-
getMappingFieldPairValidator
-
setMappingFieldPairValidator
-
setConversionService
-
validateCombineMapping
Deprecated. -
validateSeparateMapping
Deprecated.
-