Interface DTDManager
- All Superinterfaces:
DTDManagerReader
- All Known Implementing Classes:
WoTDTDManager
This interface models the DTD Manager component of the Abstract Architecture.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdd an action to the DTD.voidAdd an event to the DTD.voidaddProperty(String rawPropertyName) Add a property to the DTD.voidaddRelationship(String rawRelationshipName) Add a relationship to the DTD.booleanremoveAction(String rawActionName) Remove an action from the DTD.booleanremoveEvent(String rawEventName) Remove an event from the DTD.booleanremoveProperty(String rawPropertyName) Remove a property from the DTD.booleanremoveRelationship(String rawRelationshipName) Remove a relationship from the DTD.Methods inherited from interface io.github.webbasedwodt.DTDManager.api.DTDManagerReader
getDTD
-
Method Details
-
addProperty
Add a property to the DTD.- Parameters:
rawPropertyName- the raw name of the property to add
-
removeProperty
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
Add a relationship to the DTD.- Parameters:
rawRelationshipName- the raw name of the relationship to add
-
removeRelationship
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
Add an action to the DTD.- Parameters:
rawActionName- the raw name of the action to add
-
removeAction
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
Add an event to the DTD.- Parameters:
rawEventName- the raw name of the event to add
-
removeEvent
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
-