Interface DTDManager

All Superinterfaces:
DTDManagerReader
All Known Implementing Classes:
WoTDTDManager

public interface DTDManager extends DTDManagerReader
This interface models the DTD Manager component of the Abstract Architecture.
  • Method Details

    • addProperty

      void addProperty(String rawPropertyName)
      Add a property to the DTD.
      Parameters:
      rawPropertyName - the raw name of the property to add
    • removeProperty

      boolean removeProperty(String rawPropertyName)
      Remove a property from the DTD.
      Parameters:
      rawPropertyName - the raw name of the property to remove
      Returns:
      true is correctly removed, false if not present
    • addRelationship

      void addRelationship(String rawRelationshipName)
      Add a relationship to the DTD.
      Parameters:
      rawRelationshipName - the raw name of the relationship to add
    • removeRelationship

      boolean removeRelationship(String rawRelationshipName)
      Remove a relationship from the DTD.
      Parameters:
      rawRelationshipName - the raw name of the relationship to remove
      Returns:
      true is correctly removed, false if not present
    • addAction

      void addAction(String rawActionName)
      Add an action to the DTD.
      Parameters:
      rawActionName - the raw name of the action to add
    • removeAction

      boolean removeAction(String rawActionName)
      Remove an action from the DTD.
      Parameters:
      rawActionName - the raw name of the action to remove
      Returns:
      true is correctly removed, false if not present
    • addEvent

      void addEvent(String rawEventName)
      Add an event to the DTD.
      Parameters:
      rawEventName - the raw name of the event to add
    • removeEvent

      boolean removeEvent(String rawEventName)
      Remove an event from the DTD.
      Parameters:
      rawEventName - the raw name of the event to remove
      Returns:
      true is correctly removed, false if not present