Package org.graphwalker.core.model
Interface Element
- All Known Implementing Classes:
Classification.RuntimeClassification,Edge.RuntimeEdge,Model.RuntimeModel,RuntimeBase,Vertex.RuntimeVertex
public interface Element
Element
The Element is the interface for items in a model. Typical edges and vertices..- Author:
- Nils Olsson
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(ElementVisitor visitor) getId()getName()Gets the name of the element..getProperty(String key) booleanbooleanhasId()booleanhasName()Returns true if the element has a name.booleanhasProperty(String key) boolean
-
Method Details
-
getId
String getId() -
hasId
boolean hasId() -
getName
String getName()Gets the name of the element..- Returns:
- The name as a string.
- See Also:
-
hasName
boolean hasName()Returns true if the element has a name. A valid name is anon empty string.- Returns:
- True if the element has a valid name.
-
getRequirements
Set<Requirement> getRequirements() -
hasRequirements
boolean hasRequirements() -
getActions
-
hasActions
boolean hasActions() -
accept
-
getProperty
-
hasProperty
-