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 TypeMethodDescriptionvoid
Add an action to the DTD.void
Add an event to the DTD.void
addProperty
(String rawPropertyName) Add a property to the DTD.void
addRelationship
(String rawRelationshipName) Add a relationship to the DTD.boolean
removeAction
(String rawActionName) Remove an action from the DTD.boolean
removeEvent
(String rawEventName) Remove an event from the DTD.boolean
removeProperty
(String rawPropertyName) Remove a property from the DTD.boolean
removeRelationship
(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
-