Interface IDiagramNode.IEdge

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 Details

    • getNode

      @NonNull IDiagramNode getNode()
      Get the subject node that owns the edge.
      Returns:
      the node
    • getRelationship

      @NonNull IDiagramNode.Relationship getRelationship()
      Get the relationship type.
      Returns:
      the relationship
    • getInstance

      @NonNull IModelInstance getInstance()
      Get the associated Metaschema definition instance the edge is based on.
      Returns:
      the instance
    • accept

      void accept(@NonNull IDiagramNodeVisitor visitor)
      A visitor dispatch method used to process the edge.
      Parameters:
      visitor - the visitor to use for dispatch