Module dev.metaschema.core
Interface IFeatureOrhpanedDefinitionNodeItem<D extends IDefinition,I extends INamedInstance>
- Type Parameters:
D- the definition's typeI- the type of the instance that could be created from the definition
- All Superinterfaces:
ICollectionValue,IDefinitionNodeItem<D,,I> IItem,IMetapathQueryable,INodeItem,INodeItemVisitable,IPathSegment
- All Known Implementing Classes:
AbstractDefinitionNodeItem,AbstractGlobalDefinitionNodeItem,AbstractOrphanedDefinitionNodeItem
public interface IFeatureOrhpanedDefinitionNodeItem<D extends IDefinition,I extends INamedInstance>
extends IDefinitionNodeItem<D,I>
A mixin interface used to identify that the implementation is a
IDefinitionNodeItem that is based on a IDefinition that is an
orphan in it's hierarchy. As a result, this item has no other siblings, since
definitions cannot be instantiated.-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.metaschema.core.metapath.item.node.INodeItem
INodeItem.NodeType -
Method Summary
Modifier and TypeMethodDescriptiondefault IRetrieve the instance associated with this path segment.default IModelNodeItem<?,?> Retrieve the parent content node item if it exists.Methods inherited from interface dev.metaschema.core.metapath.item.ICollectionValue
deepEquals, toSignatureMethods inherited from interface dev.metaschema.core.metapath.item.node.IDefinitionNodeItem
getDefinition, getLocation, getQNameMethods 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, 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
-
getInstance
Description copied from interface:IDefinitionNodeItemRetrieve the instance associated with this path segment.- Specified by:
getInstancein interfaceIDefinitionNodeItem<D extends IDefinition,I extends INamedInstance> - Returns:
- the instance of the segment, or
nullif it doesn't have one
-
getParentContentNodeItem
Description copied from interface:INodeItemRetrieve the parent content node item if it exists. A content node is a non-document node.- Specified by:
getParentContentNodeItemin interfaceINodeItem- Returns:
- the parent content node item, or
nullif this node item has no known parent content node item
-