Module dev.metaschema.core
Package dev.metaschema.core.model.util
Class DefaultDiagramNode.ChoiceEdge
java.lang.Object
dev.metaschema.core.model.util.DefaultDiagramNode.ChoiceEdge
- All Implemented Interfaces:
IDiagramNode.IEdge
- Enclosing class:
- DefaultDiagramNode
Represents an edge based on a named model instance that is a member of a
choice.
-
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IDiagramNodeVisitor visitor) A visitor dispatch method used to process the edge.Get the associated choice.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
-
getChoice
Get the associated choice.- Returns:
- the choice instance
-
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
-