public abstract class AbstractSidePanelValueAggregator<VALUE,AggregationMethodEnum> extends java.lang.Object implements SidePanelValueAggregator<VALUE,AggregationMethodEnum>
Constructor and Description |
---|
AbstractSidePanelValueAggregator(AggregationMethodEnum aggregationMethod) |
Modifier and Type | Method and Description |
---|---|
IdToSidePanelDisplayConverter.SidePanelValueColorPair<VALUE> |
aggregate(java.lang.String id,
CoolMapOntologyImpl ontology,
VALUE defaultValue) |
protected abstract IdToSidePanelDisplayConverter.SidePanelValueColorPair<VALUE> |
doAggregation(java.lang.String id,
java.util.List<VALUE> allValues) |
AggregationMethodEnum |
getAggregationMethod() |
protected abstract IdToSidePanelDisplayConverter.SidePanelValueColorPair<VALUE> |
getCachedResult(java.lang.String id) |
void |
setAggregationMethod(AggregationMethodEnum aggregationMethod) |
void |
setDisplayConverter(IdToSidePanelDisplayConverter<VALUE> displayConverter) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clearCachedResults, isValueNumeric
public AbstractSidePanelValueAggregator(AggregationMethodEnum aggregationMethod)
protected abstract IdToSidePanelDisplayConverter.SidePanelValueColorPair<VALUE> doAggregation(java.lang.String id, java.util.List<VALUE> allValues)
protected abstract IdToSidePanelDisplayConverter.SidePanelValueColorPair<VALUE> getCachedResult(java.lang.String id)
public IdToSidePanelDisplayConverter.SidePanelValueColorPair<VALUE> aggregate(java.lang.String id, CoolMapOntologyImpl ontology, VALUE defaultValue)
aggregate
in interface SidePanelValueAggregator<VALUE,AggregationMethodEnum>
public void setAggregationMethod(AggregationMethodEnum aggregationMethod)
setAggregationMethod
in interface SidePanelValueAggregator<VALUE,AggregationMethodEnum>
public AggregationMethodEnum getAggregationMethod()
getAggregationMethod
in interface SidePanelValueAggregator<VALUE,AggregationMethodEnum>
public void setDisplayConverter(IdToSidePanelDisplayConverter<VALUE> displayConverter)
setDisplayConverter
in interface SidePanelValueAggregator<VALUE,AggregationMethodEnum>