Interface DTKGEngine

  • All Superinterfaces:
    DTKGEngineReader

    public interface DTKGEngine
    extends DTKGEngineReader
    This interface models the DTKGEngine component of the Abstract Architecture in a compatible way with the WLDT Framework.
    • Method Detail

      • removeDigitalTwin

        void removeDigitalTwin()
        Method that allows to signal the deletion or the stop of the underlying Digital Twin.
      • addDigitalTwinPropertyUpdate

        void addDigitalTwinPropertyUpdate​(Property property,
                                          Node newValue)
        Add or update a Digital Twin property within the Digital Twin Knowledge Graph.
        Parameters:
        property - the property to add/update
        newValue - the value of the property.
      • removeProperty

        boolean removeProperty​(Property property)
        Remove a Digital Twin property within the Digital Twin Knowledge Graph.
        Parameters:
        property - the property to delete.
        Returns:
        true if deleted, false if not-existent.
      • addRelationship

        void addRelationship​(Property relationshipPredicate,
                             Individual targetIndividual)
        Add a relationship with another Digital Twin.
        Parameters:
        relationshipPredicate - the associated predicate
        targetIndividual - the target individual
      • removeRelationship

        boolean removeRelationship​(Property relationshipPredicate,
                                   Individual targetIndividual)
        Delete an existing relationship with another Digital Twin.
        Parameters:
        relationshipPredicate - the associated predicate
        targetIndividual - the target individual.
        Returns:
        true if correctly deleted, false if the relationship doesn't exist
      • addActionId

        void addActionId​(java.lang.String actionId)
        Add an available action on the Digital Twin Knowledge Graph.
        Parameters:
        actionId - the action identifier to identify the available action.
      • removeActionId

        boolean removeActionId​(java.lang.String actionId)
        Remove an action from the Digital Twin Knowledge Graph.
        Parameters:
        actionId - the action identifier to remove
        Returns:
        true if correctly deleted, false if the action id doesn't exist
      • addDTKGObserver

        void addDTKGObserver​(DTKGObserver observer)
        Add a DTKGObserver that will be notified for each DTKG update.
        Parameters:
        observer - the observer to add.