java.lang.Object
dev.metaschema.core.model.util.DefaultDiagramNode
- All Implemented Interfaces:
IDiagramNode
A basic implementation of a
IDiagramNodeVisitor.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionfinal classRepresents an edge based on a named model instance that is a member of a choice.final classRepresents an edge based on a named model instance that is a member of a choice group.final classRepresents an edge based on a named model instance.Nested classes/interfaces inherited from interface dev.metaschema.core.model.util.IDiagramNode
IDiagramNode.IAttribute, IDiagramNode.IEdge, IDiagramNode.Relationship -
Constructor Summary
ConstructorsConstructorDescriptionDefaultDiagramNode(IModelDefinition definition) Construct a new diagram node. -
Method Summary
Modifier and TypeMethodDescriptionGet the sequence of scalar data points associated with the definition.The Metaschema module definition associated with this node.getEdges()Get the sequence of relationships between this and other nodes.The identifier of the node used for cross-referenceing.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface dev.metaschema.core.model.util.IDiagramNode
getLabel
-
Constructor Details
-
DefaultDiagramNode
Construct a new diagram node.- Parameters:
definition- the definition to base the node on
-
-
Method Details
-
getDefinition
Description copied from interface:IDiagramNodeThe Metaschema module definition associated with this node.- Specified by:
getDefinitionin interfaceIDiagramNode- Returns:
- the definition
-
getIdentifier
Description copied from interface:IDiagramNodeThe identifier of the node used for cross-referenceing.- Specified by:
getIdentifierin interfaceIDiagramNode- Returns:
- the identifier
-
getAttributes
Description copied from interface:IDiagramNodeGet the sequence of scalar data points associated with the definition.- Specified by:
getAttributesin interfaceIDiagramNode- Returns:
- the sequence
-
getEdges
Description copied from interface:IDiagramNodeGet the sequence of relationships between this and other nodes.- Specified by:
getEdgesin interfaceIDiagramNode- Returns:
- the sequence
-