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