Class DelegatingAttributeValueAccessor
java.lang.Object
de.hybris.platform.integrationservices.model.impl.DelegatingAttributeValueAccessor
- All Implemented Interfaces:
AttributeValueAccessor,AttributeValueGetter,AttributeValueSetter
A default implementation the
AttributeValueAccessor, which delegates its calls to AttributeValueSetter
and to AttributeValueGetter-
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
-
Constructor Details
-
DelegatingAttributeValueAccessor
-
-
Method Details
-
getValue
Description copied from interface:AttributeValueGetterGets the value from the givenObjectusing the default locale- Specified by:
getValuein interfaceAttributeValueGetter- Parameters:
model- 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
-
setValue
Description copied from interface:AttributeValueSetterSets the value on the givenObject- Specified by:
setValuein interfaceAttributeValueSetter- Parameters:
model- Reference to the model that the attribute value will be set onvalue- Value to be set in the model
-