Class ConfigurationImpl
java.lang.Object
de.hybris.platform.sap.productconfig.runtime.interf.external.impl.ConfigurationImpl
- All Implemented Interfaces:
Configuration
- Direct Known Subclasses:
DummyConfigurationKD990SolImpl,DummyConfigurationWecDragonCarImpl
Default implementation: External representation of configuration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacteristicValue(CharacteristicValue csticValue) Adds a new characteristic value to the configurationvoidaddContextAttribute(ContextAttribute contextAttribute) Adds a new context attribute to the configurationvoidaddInstance(Instance instance) Adds an instance to the instance listvoidaddPartOfRelation(PartOfRelation partOfRelation) Adds a partOf relationgetKbKey()voidSets the knowledge base key datavoidsetRootInstance(Instance rootInstance) Sets root instance of the configuration
-
Constructor Details
-
ConfigurationImpl
public ConfigurationImpl()
-
-
Method Details
-
getRootInstance
- Specified by:
getRootInstancein interfaceConfiguration- Returns:
- Root instance of the configuration
-
setRootInstance
Description copied from interface:ConfigurationSets root instance of the configuration- Specified by:
setRootInstancein interfaceConfiguration
-
getInstances
- Specified by:
getInstancesin interfaceConfiguration- Returns:
- List of instances belonging to this configuration
-
addInstance
Description copied from interface:ConfigurationAdds an instance to the instance list- Specified by:
addInstancein interfaceConfiguration- Parameters:
instance- Instance to be added
-
getPartOfRelations
- Specified by:
getPartOfRelationsin interfaceConfiguration- Returns:
- List of partOf relations between instances
-
addPartOfRelation
Description copied from interface:ConfigurationAdds a partOf relation- Specified by:
addPartOfRelationin interfaceConfiguration
-
getCharacteristicValues
- Specified by:
getCharacteristicValuesin interfaceConfiguration- Returns:
- List of assigned characteristic values
-
addCharacteristicValue
Description copied from interface:ConfigurationAdds a new characteristic value to the configuration- Specified by:
addCharacteristicValuein interfaceConfiguration
-
getContextAttributes
- Specified by:
getContextAttributesin interfaceConfiguration- Returns:
- List of context attributes
-
addContextAttribute
Description copied from interface:ConfigurationAdds a new context attribute to the configuration- Specified by:
addContextAttributein interfaceConfiguration
-
getKbKey
- Specified by:
getKbKeyin interfaceConfiguration- Returns:
- knowledge base key data
-
setKbKey
Description copied from interface:ConfigurationSets the knowledge base key data- Specified by:
setKbKeyin interfaceConfiguration
-