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