Interface DTDManager
-
- All Superinterfaces:
DTDManagerReader
public interface DTDManager extends DTDManagerReader
This interface models the DTD Manager component of the Abstract Architecture.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddAction(java.lang.String rawActionName)Add an action to the DTD.voidaddProperty(java.lang.String rawPropertyName)Add a property to the DTD.voidaddRelationship(java.lang.String rawRelationshipName)Add a relationship to the DTD.booleanremoveAction(java.lang.String rawActionName)Remove an action from the DTD.booleanremoveProperty(java.lang.String rawPropertyName)Remove a property from the DTD.booleanremoveRelationship(java.lang.String rawRelationshipName)Remove a relationship from the DTD.-
Methods inherited from interface io.github.webbasedwodt.application.component.DTDManagerReader
getAvailableActionIds, getDTD
-
-
-
-
Method Detail
-
addProperty
void addProperty(java.lang.String rawPropertyName)
Add a property to the DTD.- Parameters:
rawPropertyName- the raw name of the property to add
-
removeProperty
boolean removeProperty(java.lang.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(java.lang.String rawRelationshipName)
Add a relationship to the DTD.- Parameters:
rawRelationshipName- the raw name of the relationship to add
-
removeRelationship
boolean removeRelationship(java.lang.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(java.lang.String rawActionName)
Add an action to the DTD.- Parameters:
rawActionName- the raw name of the action to add
-
removeAction
boolean removeAction(java.lang.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
-
-