public abstract class AbstractCxYprofileMapper extends java.lang.Object implements CxYProfileMapper
| Constructor and Description |
|---|
AbstractCxYprofileMapper() |
| Modifier and Type | Method and Description |
|---|---|
protected SegmentMappingData |
createSegment(Neighbour neighbour) |
protected java.lang.String |
decode(java.lang.String input) |
protected abstract java.math.BigDecimal |
getAffinity(Neighbour neighbour) |
ConfigurationService |
getConfigurationService() |
protected abstract java.lang.String |
getSegmentCode(Neighbour neighbour) |
protected abstract boolean |
isNeighbourValid(Neighbour neighbour) |
protected void |
normalizeAffinity(java.util.Collection<SegmentMappingData> data) |
void |
populate(java.util.List<Neighbour> source,
MappingData target)
Populate the target instance with values from the source instance.
|
protected SegmentMappingData |
selectBest(SegmentMappingData a,
SegmentMappingData b) |
protected void |
setAffinity(SegmentMappingData segment,
Neighbour neighbour) |
void |
setConfigurationService(ConfigurationService configurationService) |
public void populate(java.util.List<Neighbour> source, MappingData target)
Populatorpopulate in interface Populator<java.util.List<Neighbour>,MappingData>source - the source objecttarget - the target to fillprotected abstract boolean isNeighbourValid(Neighbour neighbour)
protected SegmentMappingData createSegment(Neighbour neighbour)
protected void setAffinity(SegmentMappingData segment, Neighbour neighbour)
protected abstract java.lang.String getSegmentCode(Neighbour neighbour)
protected abstract java.math.BigDecimal getAffinity(Neighbour neighbour)
protected SegmentMappingData selectBest(SegmentMappingData a, SegmentMappingData b)
protected void normalizeAffinity(java.util.Collection<SegmentMappingData> data)
protected java.lang.String decode(java.lang.String input)
public void setConfigurationService(ConfigurationService configurationService)
public ConfigurationService getConfigurationService()
Copyright © 2017 SAP SE. All Rights Reserved.