public abstract class AbstractBaseMapper extends java.lang.Object implements CxConsumptionLayerProfileMapper
| Constructor and Description |
|---|
AbstractBaseMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected ConfigurationService |
getConfigurationService() |
protected abstract java.util.Set<java.lang.String> |
getDefaultRequiredFields() |
protected abstract java.lang.String |
getEnabledProperty() |
protected java.lang.String |
getPrefix() |
java.util.Set<java.lang.String> |
getRequiredFields()
Method define which profile attributes are needed by mapper.
They will be send to profile service. |
protected java.lang.String |
getSegmentCode(java.lang.String baseName) |
protected boolean |
isEnabled() |
protected boolean |
isSourceValid(Profile source) |
protected boolean |
isTargetValid(MappingData target) |
void |
populate(Profile source,
MappingData target)
Populate the target instance with values from the source instance.
|
protected abstract void |
populateAfterValidation(Profile source,
MappingData target) |
void |
setConfigurationService(ConfigurationService configurationService) |
void |
setPrefix(java.lang.String prefix) |
public void populate(Profile source, MappingData target)
Populatorpopulate in interface Populator<Profile,MappingData>source - the source objecttarget - the target to fillprotected boolean isEnabled()
protected boolean isSourceValid(Profile source)
protected boolean isTargetValid(MappingData target)
protected abstract void populateAfterValidation(Profile source, MappingData target)
protected java.lang.String getSegmentCode(java.lang.String baseName)
protected abstract java.util.Set<java.lang.String> getDefaultRequiredFields()
protected abstract java.lang.String getEnabledProperty()
public void setPrefix(java.lang.String prefix)
protected java.lang.String getPrefix()
public java.util.Set<java.lang.String> getRequiredFields()
CxConsumptionLayerProfileMappergetRequiredFields in interface CxConsumptionLayerProfileMapperpublic void setConfigurationService(ConfigurationService configurationService)
protected ConfigurationService getConfigurationService()
Copyright © 2018 SAP SE. All Rights Reserved.