Interface AttributeValueGetter
- All Known Subinterfaces:
AttributeValueAccessor
- All Known Implementing Classes:
ClassAttributeValueGetter,DelegatingAttributeValueAccessor,NullAttributeValueGetter
public interface AttributeValueGetter
An AttributeValueGetter provides get access to an attribute's value
-
Method Details
-
getValue
Gets the value from the givenObjectusing the default locale- Parameters:
model- Reference to the model that contains the value to retrieve from- Returns:
- The value or null
-
getValue
Gets the value from the givenObjectusing the specified locale- Parameters:
model- Reference to the model that contains the value to retrieve fromlocale- The locale of the value to retrieve- Returns:
- The value or null
-
getValues
Gets the values from the givenObjectusing the specified locales- Parameters:
model- Reference to the model that contains the value to retrieve fromlocales- The locales of the value to retrieve- Returns:
- A map of localized values
-