Package org.graphwalker.core.model
Class RuntimeBase
java.lang.Object
org.graphwalker.core.model.RuntimeBase
- All Implemented Interfaces:
Element
- Direct Known Subclasses:
Classification.RuntimeClassification,Edge.RuntimeEdge,Model.RuntimeModel,Vertex.RuntimeVertex
- Author:
- Nils Olsson
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRuntimeBase(String id, String name) protectedRuntimeBase(String id, String name, List<Action> actions, Set<Requirement> requirements) protectedRuntimeBase(String id, String name, List<Action> actions, Set<Requirement> requirements, Map<String, Object> properties) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()getName()Gets the name of the element..getProperty(String key) booleaninthashCode()booleanhasId()booleanhasName()Returns true if the element has a name.booleanbooleanhasProperty(String key) boolean
-
Constructor Details
-
RuntimeBase
-
RuntimeBase
-
RuntimeBase
-
-
Method Details
-
getId
-
hasId
public boolean hasId() -
getName
Description copied from interface:ElementGets the name of the element.. -
hasName
public boolean hasName()Description copied from interface:ElementReturns true if the element has a name. A valid name is anon empty string. -
getProperty
- Specified by:
getPropertyin interfaceElement
-
hasProperty
- Specified by:
hasPropertyin interfaceElement
-
getActions
- Specified by:
getActionsin interfaceElement
-
hasActions
public boolean hasActions()- Specified by:
hasActionsin interfaceElement
-
getRequirements
- Specified by:
getRequirementsin interfaceElement
-
hasRequirements
public boolean hasRequirements()- Specified by:
hasRequirementsin interfaceElement
-
getProperties
-
hasProperties
public boolean hasProperties() -
hashCode
public int hashCode() -
equals
-