Interface Configuration
- All Known Implementing Classes:
ConfigurationImpl,DummyConfigurationKD990SolImpl,DummyConfigurationWecDragonCarImpl
public interface Configuration
External representation of a configuration
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddCharacteristicValue(CharacteristicValue characteristicValue) 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
-
Method Details
-
getRootInstance
Instance getRootInstance()- Returns:
- Root instance of the configuration
-
setRootInstance
Sets root instance of the configuration- Parameters:
rootInstance-
-
getInstances
- Returns:
- List of instances belonging to this configuration
-
getPartOfRelations
List<PartOfRelation> getPartOfRelations()- Returns:
- List of partOf relations between instances
-
getCharacteristicValues
List<CharacteristicValue> getCharacteristicValues()- Returns:
- List of assigned characteristic values
-
getContextAttributes
List<ContextAttribute> getContextAttributes()- Returns:
- List of context attributes
-
addInstance
Adds an instance to the instance list- Parameters:
instance- Instance to be added
-
addPartOfRelation
Adds a partOf relation- Parameters:
partOfRelation-
-
addCharacteristicValue
Adds a new characteristic value to the configuration- Parameters:
characteristicValue-
-
addContextAttribute
Adds a new context attribute to the configuration- Parameters:
contextAttribute-
-
getKbKey
KBKey getKbKey()- Returns:
- knowledge base key data
-
setKbKey
Sets the knowledge base key data- Parameters:
kbKey-
-