Class ClassAttributeValueGetter
java.lang.Object
de.hybris.platform.integrationservices.model.impl.ClassAttributeValueGetter
- All Implemented Interfaces:
AttributeValueGetter
An implementation for POJO attributes and uses Java reflection to retrieve the attribute value
-
Constructor Summary
ConstructorsConstructorDescriptionInstantiates the getter -
Method Summary
-
Constructor Details
-
ClassAttributeValueGetter
Instantiates the getter- Parameters:
a- an IOClassAttributeModel used to gather the information needed to retrieve the attribute value
-
-
Method Details
-
getValue
Description copied from interface:AttributeValueGetterGets the value from the givenObjectusing the default locale- Specified by:
getValuein interfaceAttributeValueGetter- Parameters:
pojo- Reference to the model that contains the value to retrieve from- Returns:
- The value or null
-
getValue
Description copied from interface:AttributeValueGetterGets the value from the givenObjectusing the specified locale- Specified by:
getValuein interfaceAttributeValueGetter- 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
Description copied from interface:AttributeValueGetterGets the values from the givenObjectusing the specified locales- Specified by:
getValuesin interfaceAttributeValueGetter- 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
-