Class CompoundDisplayValue
java.lang.Object
ch.tocco.nice2.model.base.spi.display.CompoundDisplayValue
- All Implemented Interfaces:
DisplayValue
Class to group several
DisplayValue
s together. So we
can evaluate them together. Missing resources are reported separately.
To see the creation of a display value see DisplayValueFactory
.- See Also:
-
Constructor Summary
ConstructorDescriptionCompoundDisplayValue
(DisplayValue... innerValues) CompoundDisplayValue
(List<DisplayValue> innerValues) -
Method Summary
Modifier and TypeMethodDescriptionboolean
fm: what if we receive an empty list ofDisplayValue
's?evaluate()
CallDisplayValue.evaluate()
on every valueString representation of all raw data
-
Constructor Details
-
CompoundDisplayValue
-
CompoundDisplayValue
-
-
Method Details
-
getRawData
String representation of all raw data- Specified by:
getRawData
in interfaceDisplayValue
- Returns:
- string representation of all raw data
-
evaluate
CallDisplayValue.evaluate()
on every value- Specified by:
evaluate
in interfaceDisplayValue
- Returns:
- concatinated string of all evaluated values
-
canEvaluate
public boolean canEvaluate()fm: what if we receive an empty list ofDisplayValue
's?- Specified by:
canEvaluate
in interfaceDisplayValue
- Returns:
- always true
-