Interface EnumeratedValues
-
public interface EnumeratedValues
Represents some enumerated values returned bySearchCriterionDefinition.getEnumeratedValues(java.util.Map<java.lang.String, java.lang.Object>)
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceEnumeratedValues.RestrictedValuesRepresents a subset of values (some 'restricted' values) of a givenEnumeratedValues.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<Object,I18nizableText>getAllValues()Gets all the values (with their label)EnumeratedValues.RestrictedValuesgetRestrictedValuesFor(List<Object> objs)Gets theEnumeratedValues.RestrictedValuesobject
The implementation must decide whether or not the given objs must be validated amongall values, if they must be converted, etc.
-
-
-
Method Detail
-
getAllValues
Map<Object,I18nizableText> getAllValues()
Gets all the values (with their label)- Returns:
- all the values (with their label)
-
getRestrictedValuesFor
EnumeratedValues.RestrictedValues getRestrictedValuesFor(List<Object> objs)
Gets theEnumeratedValues.RestrictedValuesobject
The implementation must decide whether or not the given objs must be validated amongall values, if they must be converted, etc.- Parameters:
objs- The desired objects- Returns:
- the
EnumeratedValues.RestrictedValues
-
-