@Deprecated public abstract class AbstractCxConsumptionLayerMapper<T extends Affinity> extends java.lang.Object implements CxConsumptionLayerProfileMapper
| Constructor and Description |
|---|
AbstractCxConsumptionLayerMapper()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
protected SegmentMappingData |
createSegmentMapping(java.lang.String affinityKey,
T affinity)
Deprecated.
|
protected java.util.List<SegmentMappingData> |
createSegmentMappingList(java.util.Map<java.lang.String,T> affinityMap)
Deprecated.
|
protected abstract java.util.Optional<java.util.Map<java.lang.String,T>> |
getAffinityMap(Profile profile)
Deprecated.
|
protected CxConsumptionLayerAffinityStrategy |
getAffinityStrategy()
Deprecated.
|
protected ConfigurationService |
getConfigurationService()
Deprecated.
|
protected abstract java.lang.String |
getSegmentCode(java.lang.String affinityKey)
Deprecated.
|
protected void |
normalizeAffinity(java.util.List<SegmentMappingData> data)
Deprecated.
|
void |
populate(Profile source,
MappingData target)
Deprecated.
Populate the target instance with values from the source instance.
|
void |
setAffinityStrategy(CxConsumptionLayerAffinityStrategy affinityStrategy)
Deprecated.
|
void |
setConfigurationService(ConfigurationService configurationService)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetRequiredFieldspublic AbstractCxConsumptionLayerMapper()
public void populate(Profile source, MappingData target)
Populatorpopulate in interface Populator<Profile,MappingData>source - the source objecttarget - the target to fillprotected abstract java.util.Optional<java.util.Map<java.lang.String,T>> getAffinityMap(Profile profile)
protected java.util.List<SegmentMappingData> createSegmentMappingList(java.util.Map<java.lang.String,T> affinityMap)
protected SegmentMappingData createSegmentMapping(java.lang.String affinityKey, T affinity)
protected abstract java.lang.String getSegmentCode(java.lang.String affinityKey)
protected void normalizeAffinity(java.util.List<SegmentMappingData> data)
public void setConfigurationService(ConfigurationService configurationService)
protected ConfigurationService getConfigurationService()
public void setAffinityStrategy(CxConsumptionLayerAffinityStrategy affinityStrategy)
protected CxConsumptionLayerAffinityStrategy getAffinityStrategy()
Copyright © 2018 SAP SE. All Rights Reserved.