Module dev.metaschema.core
Interface IDefinitionNodeItem<D extends IDefinition,I extends INamedInstance>
- Type Parameters:
D- the Java type of the definition associated with a Metaschema moduleI- 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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.metaschema.core.metapath.item.node.INodeItem
INodeItem.NodeType -
Method Summary
Modifier and TypeMethodDescriptionGet the Metaschema definition associated with this node.Retrieve the instance associated with this path segment.default IResourceLocationGet the resource location information for the node, if known.default IEnhancedQNamegetQName()Get the name of this node.Methods inherited from interface dev.metaschema.core.metapath.item.ICollectionValue
deepEquals, toSignatureMethods inherited from interface dev.metaschema.core.metapath.item.IItem
atomize, contentsAsSequence, flatten, getType, getValue, hasValue, toAtomicItem, toSequenceMethods inherited from interface dev.metaschema.core.metapath.item.node.INodeItem
accept, ancestor, ancestorOrSelf, descendant, descendantOrSelf, flags, following, followingSibling, format, getBaseUri, getFlagByName, getFlags, getMetapath, getModelItems, getModelItemsByName, getNodeItemKind, getNodeType, getParentContentNodeItem, getParentNodeItem, getPathStream, getPosition, getStaticContext, modelItems, preceding, precedingSibling, stringValueMethods inherited from interface dev.metaschema.core.metapath.item.node.INodeItemVisitable
acceptMethods inherited from interface dev.metaschema.core.metapath.format.IPathSegment
getNodeItem, getPath, toPath
-
Method Details
-
getQName
Get the name of this node.- Returns:
- the qualified name
-
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
nullif it doesn't have one
-
getLocation
Description copied from interface:INodeItemGet the resource location information for the node, if known.- Specified by:
getLocationin interfaceINodeItem- Returns:
- the resource location information, or
nullif not known
-