Interface EnumeratedValues
public interface EnumeratedValues
Represents some enumerated values returned by
SearchCriterionDefinition.getEnumeratedValues(java.util.Map<java.lang.String, java.lang.Object>)-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceRepresents a subset of values (some 'restricted' values) of a givenEnumeratedValues. -
Method Summary
Modifier and TypeMethodDescriptionGets all the values (with their label)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.default Optional<Map.Entry<Object,I18nizableText>> Gets the enumerated value (with its label) from the given value
-
Method Details
-
getAllValues
Gets all the values (with their label)- Returns:
- all the values (with their label)
-
getValue
Gets the enumerated value (with its label) from the given value- Parameters:
value- the value- Returns:
- the enumerated value (with its label)
-
getRestrictedValuesFor
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
-