Class ConfigurationPropertyAccessImpl
java.lang.Object
de.hybris.platform.sap.core.configuration.impl.ConfigurationPropertyAccessImpl
- All Implemented Interfaces:
ConfigurationPropertyAccess
Default implementation of
ConfigurationPropertyAccess interface.-
Constructor Summary
ConstructorsConstructorDescriptionConfigurationPropertyAccessImpl(ItemModel configurationModel) Standard constructor passing the configuration model. -
Method Summary
Modifier and TypeMethodDescriptionReturns all simple properties.Returns all related property access collections (1:n relation).Returns all related property accesses (1:1 relation).Returns the current configuration model.<T> TgetProperty(String propertyName) Returns the value of the requested simple property.getPropertyAccess(String propertyAccessName) Returns the requested related property access (1:1 relation).getPropertyAccessCollection(String propertyAccessCollectionName) Returns the requested related property access collection (1:n relation).
-
Constructor Details
-
ConfigurationPropertyAccessImpl
Standard constructor passing the configuration model.- Parameters:
configurationModel- configuration model
-
-
Method Details
-
getConfigurationModel
Returns the current configuration model.- Returns:
- sub class instance of
ItemModel
-
getProperty
Description copied from interface:ConfigurationPropertyAccessReturns the value of the requested simple property.- Specified by:
getPropertyin interfaceConfigurationPropertyAccess- Type Parameters:
T- type of the property value- Parameters:
propertyName- name of property- Returns:
- value of the requested property
-
getAllProperties
Description copied from interface:ConfigurationPropertyAccessReturns all simple properties.- Specified by:
getAllPropertiesin interfaceConfigurationPropertyAccess- Returns:
- map of all simple properties (name/value pairs)
-
getPropertyAccess
Description copied from interface:ConfigurationPropertyAccessReturns the requested related property access (1:1 relation).- Specified by:
getPropertyAccessin interfaceConfigurationPropertyAccess- Parameters:
propertyAccessName- name of property related property access- Returns:
- value of the requested property
-
getAllPropertyAccesses
Description copied from interface:ConfigurationPropertyAccessReturns all related property accesses (1:1 relation).- Specified by:
getAllPropertyAccessesin interfaceConfigurationPropertyAccess- Returns:
- map of all related property accesses (name/property access pairs)
-
getPropertyAccessCollection
public Collection<ConfigurationPropertyAccess> getPropertyAccessCollection(String propertyAccessCollectionName) Description copied from interface:ConfigurationPropertyAccessReturns the requested related property access collection (1:n relation).- Specified by:
getPropertyAccessCollectionin interfaceConfigurationPropertyAccess- Parameters:
propertyAccessCollectionName- name of property related property access- Returns:
- value of the requested property
-
getAllPropertyAccessCollections
Description copied from interface:ConfigurationPropertyAccessReturns all related property access collections (1:n relation).- Specified by:
getAllPropertyAccessCollectionsin interfaceConfigurationPropertyAccess- Returns:
- map of all related property access collections (name/property access collection pairs)
-