- All Known Implementing Classes:
DefaultDiagramNode.ChoiceEdge,DefaultDiagramNode.ChoiceGroupEdge,DefaultDiagramNode.ModelEdge
- Enclosing interface:
- IDiagramNode
public static interface IDiagramNode.IEdge
Represents a relationship between a subject node and a target node.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IDiagramNodeVisitor visitor) A visitor dispatch method used to process the edge.Get the associated Metaschema definition instance the edge is based on.getNode()Get the subject node that owns the edge.Get the relationship type.
-
Method Details
-
getNode
Get the subject node that owns the edge.- Returns:
- the node
-
getRelationship
Get the relationship type.- Returns:
- the relationship
-
getInstance
Get the associated Metaschema definition instance the edge is based on.- Returns:
- the instance
-
accept
A visitor dispatch method used to process the edge.- Parameters:
visitor- the visitor to use for dispatch
-