Interface IDefinitionNodeItem<D extends IDefinition,I extends INamedInstance>

Type Parameters:
D - the Java type of the definition associated with a Metaschema module
I - the Java type of the instance associated with a Metaschema module
All Superinterfaces:
ICollectionValue, IItem, IMetapathQueryable, INodeItem, INodeItemVisitable, IPathSegment
All Known Subinterfaces:
IAssemblyInstanceGroupedNodeItem, IAssemblyNodeItem, ICycledAssemblyNodeItem, IFeatureOrhpanedDefinitionNodeItem<D,I>, IFieldNodeItem, IFlagNodeItem, IModelNodeItem<D,I>, IRootAssemblyNodeItem
All Known Implementing Classes:
AbstractDefinitionNodeItem, AbstractFlagInstanceNodeItem, AbstractGlobalDefinitionNodeItem, AbstractInstanceNodeItem, AbstractOrphanedDefinitionNodeItem

public interface IDefinitionNodeItem<D extends IDefinition,I extends INamedInstance> extends INodeItem
Represents a Metapath node item that is based on an underlying Metaschema module definition and instance.
  • Method Details

    • getQName

      @NonNull default IEnhancedQName getQName()
      Get the name of this node.
      Returns:
      the qualified name
    • getDefinition

      @NonNull D getDefinition()
      Get the Metaschema definition associated with this node.
      Returns:
      the definition
    • getInstance

      I getInstance()
      Retrieve the instance associated with this path segment.
      Returns:
      the instance of the segment, or null if it doesn't have one
    • getLocation

      @Nullable default IResourceLocation getLocation()
      Description copied from interface: INodeItem
      Get the resource location information for the node, if known.
      Specified by:
      getLocation in interface INodeItem
      Returns:
      the resource location information, or null if not known