Module dev.metaschema.core
Package dev.metaschema.core.model.util
Class DefaultDiagramNode.ModelEdge
java.lang.Object
dev.metaschema.core.model.util.DefaultDiagramNode.ModelEdge
- All Implemented Interfaces:
IDiagramNode.IEdge
- Enclosing class:
- DefaultDiagramNode
Represents an edge based on a named model instance.
-
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
-
accept
Description copied from interface:IDiagramNode.IEdgeA visitor dispatch method used to process the edge.- Parameters:
visitor- the visitor to use for dispatch
-
getNode
Description copied from interface:IDiagramNode.IEdgeGet the subject node that owns the edge.- Specified by:
getNodein interfaceIDiagramNode.IEdge- Returns:
- the node
-
getRelationship
Description copied from interface:IDiagramNode.IEdgeGet the relationship type.- Specified by:
getRelationshipin interfaceIDiagramNode.IEdge- Returns:
- the relationship
-
getInstance
Description copied from interface:IDiagramNode.IEdgeGet the associated Metaschema definition instance the edge is based on.- Specified by:
getInstancein interfaceIDiagramNode.IEdge- Returns:
- the instance
-