Module dev.metaschema.core
Interface IFeatureModelContainerItem
- All Superinterfaces:
ICollectionValue,IFeatureFlagContainerItem,IItem,IMetapathQueryable,INodeItem,INodeItemVisitable,IPathSegment
This mixin interface indicates that the implementation is a
INodeItem
that may have both flag and model children.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classProvides an abstract implementation of a lazy loaded model.Nested classes/interfaces inherited from interface dev.metaschema.core.metapath.item.node.IFeatureFlagContainerItem
IFeatureFlagContainerItem.FlagContainerNested classes/interfaces inherited from interface dev.metaschema.core.metapath.item.node.INodeItem
INodeItem.NodeType -
Method Summary
Modifier and TypeMethodDescriptiongetModel()Get the model implementation that potentially contains flags.default Collection<? extends List<? extends IModelNodeItem<?,?>>> Get the model items (i.e., fields, assemblies) and value data associated this node.default List<? extends IModelNodeItem<?,?>> Get the collection of model items associated with the instance having the providedname.Methods inherited from interface dev.metaschema.core.metapath.item.ICollectionValue
deepEquals, toSignatureMethods inherited from interface dev.metaschema.core.metapath.item.node.IFeatureFlagContainerItem
getFlagByName, getFlagsMethods 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, getLocation, getMetapath, 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
-
getModel
IFeatureModelContainerItem.ModelContainer getModel()Description copied from interface:IFeatureFlagContainerItemGet the model implementation that potentially contains flags.- Specified by:
getModelin interfaceIFeatureFlagContainerItem- Returns:
- the model
-
getModelItems
Description copied from interface:INodeItemGet 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:
getModelItemsin interfaceIFeatureFlagContainerItem- Specified by:
getModelItemsin interfaceINodeItem- Returns:
- a collection of list(s), with each list containing the items for a given model instance
-
getModelItemsByName
Description copied from interface:INodeItemGet the collection of model items associated with the instance having the providedname.The resulting collection may be modified, but such modification is not thread safe
- Specified by:
getModelItemsByNamein interfaceIFeatureFlagContainerItem- Specified by:
getModelItemsByNamein interfaceINodeItem- 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
-