public abstract class AbstractMappingValidationStrategy extends Object implements MappingModelValidationStrategy
| Constructor and Description |
|---|
AbstractMappingValidationStrategy() |
protected ImportCockpitMediaService getImportCockpitMediaService()
public void setImportCockpitMediaService(ImportCockpitMediaService importCockpitMediaService)
public void setMappingLineTypeService(MappingLineTypeService mappingLineTypeService)
protected MappingLineTypeService getMappingLineTypeService()
public void setMappingLineConfigService(MappingLineConfigService mappingLineConfigService)
protected MappingLineConfigService getMappingLineConfigService()
public void setTypeService(TypeService typeService)
protected TypeService getTypeService()
public void addError(List<ValidationError> errors, ValidationError error)
addError in interface MappingModelValidationStrategypublic void validateMandatoryMappingLine(List<ValidationError> errors, MappingLineModel mappingLineModel)
validateMandatoryMappingLine in interface MappingModelValidationStrategyprotected void checkForComposedMappingLine(List<ValidationError> errors, MappingLineModel mappingLineModel)
protected void checkForCollectionElementsConsistency(List<ValidationError> errors, MappingModel mappingModel)
protected void checkForCollectionMappingLine(List<ValidationError> errors, MappingLineModel mappingLineModel)
protected void checkForEnumerationMappingLine(List<ValidationError> errors, MappingLineModel mappingLineModel)
protected void checkEnumerationValueExist(List<ValidationError> errors, MappingLineModel mappingLineModel)
protected void checkForLocalizedMappingLine(List<ValidationError> errors, MappingLineModel line)
protected void checkForUnmappedMandatoryAttributes(List<ValidationError> errors, MappingModel mapping)
errors - mapping - check for unmapped existing mandatory attributesprotected void checkForUnmappedMandatoryAttributesAndFeatures(List<ValidationError> errors, MappingModel mapping, MappingLineModel line)
protected void checkForMissingMandatoryAttributes(List<ValidationError> errors, MappingModel mapping)
errors - mapping - check for missing mandatory attributesprotected boolean checkChildrenElementsConsistent(List<MappingLineModel> currentChildList, List<MappingLineModel> firstChildList)
protected boolean isAllUniqueAttribsMapped(MappingLineModel mappingLineModel)
mappingLineModel - protected Set<AttributeDescriptorModel> getMandatoryAttributeDesciptors(ComposedTypeModel composedTypeModel)
composedTypeModel - Copyright © 2017 SAP SE. All Rights Reserved.