Interface IFeatureModelContainerItem

All Superinterfaces:
ICollectionValue, IFeatureFlagContainerItem, IItem, IMetapathQueryable, INodeItem, INodeItemVisitable, IPathSegment

public interface IFeatureModelContainerItem extends IFeatureFlagContainerItem
This mixin interface indicates that the implementation is a INodeItem that may have both flag and model children.
  • Method Details

    • getModel

      Description copied from interface: IFeatureFlagContainerItem
      Get the model implementation that potentially contains flags.
      Specified by:
      getModel in interface IFeatureFlagContainerItem
      Returns:
      the model
    • getModelItems

      default Collection<? extends List<? extends IModelNodeItem<?,?>>> getModelItems()
      Description copied from interface: INodeItem
      Get the model items (i.e., fields, assemblies) and value data associated this node. A given model instance can be multi-valued, so the value of each instance will be a list. The resulting collection is expected to be ordered, with the results in document order.

      The resulting collection may be modified, but such modification is not thread safe

      Specified by:
      getModelItems in interface IFeatureFlagContainerItem
      Specified by:
      getModelItems in interface INodeItem
      Returns:
      a collection of list(s), with each list containing the items for a given model instance
    • getModelItemsByName

      default List<? extends IModelNodeItem<?,?>> getModelItemsByName(IEnhancedQName name)
      Description copied from interface: INodeItem
      Get the collection of model items associated with the instance having the provided name.

      The resulting collection may be modified, but such modification is not thread safe

      Specified by:
      getModelItemsByName in interface IFeatureFlagContainerItem
      Specified by:
      getModelItemsByName in interface INodeItem
      Parameters:
      name - the instance name to get model items for
      Returns:
      the sequence of items associated with the named model instance, or an empty list if an instance with that name is not present