Interface IFeatureOrhpanedDefinitionNodeItem<D extends IDefinition,I extends INamedInstance>

Type Parameters:
D - the definition's type
I - 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.
  • Method Details

    • getInstance

      default I getInstance()
      Description copied from interface: IDefinitionNodeItem
      Retrieve the instance associated with this path segment.
      Specified by:
      getInstance in interface IDefinitionNodeItem<D extends IDefinition,I extends INamedInstance>
      Returns:
      the instance of the segment, or null if it doesn't have one
    • getParentContentNodeItem

      default IModelNodeItem<?,?> getParentContentNodeItem()
      Description copied from interface: INodeItem
      Retrieve the parent content node item if it exists. A content node is a non-document node.
      Specified by:
      getParentContentNodeItem in interface INodeItem
      Returns:
      the parent content node item, or null if this node item has no known parent content node item