Interface 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 -