Module dev.metaschema.core
Interface IAssemblyInstanceGroupedNodeItem
- All Superinterfaces:
IAssemblyNodeItem,ICollectionValue,IDefinitionNodeItem<IAssemblyDefinition,,IAssemblyInstance> IItem,IMetapathQueryable,IModelNodeItem<IAssemblyDefinition,,IAssemblyInstance> INodeItem,INodeItemVisitable,IPathSegment
Represents a Metapath assembly node item for a grouped assembly instance.
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.metaschema.core.metapath.item.node.INodeItem
INodeItem.NodeType -
Method Summary
Modifier and TypeMethodDescriptiondefault <CONTEXT,RESULT>
RESULTaccept(INodeItemVisitor<CONTEXT, RESULT> visitor, CONTEXT context) A visitor callback.default Stringformat(IPathFormatter formatter) Generate a path for this node in the directed node graph, using the provided path formatter.default IAssemblyInstanceGroupedNodeItemGet the value associated with the path segment.Methods inherited from interface dev.metaschema.core.metapath.item.node.IAssemblyNodeItem
deepEquals, getBaseUri, getNodeItemKind, getNodeType, getType, toAtomicItemMethods inherited from interface dev.metaschema.core.metapath.item.ICollectionValue
toSignatureMethods inherited from interface dev.metaschema.core.metapath.item.node.IDefinitionNodeItem
getDefinition, getInstance, getLocation, getQNameMethods inherited from interface dev.metaschema.core.metapath.item.IItem
atomize, contentsAsSequence, flatten, getValue, hasValue, toSequenceMethods inherited from interface dev.metaschema.core.metapath.item.node.IModelNodeItem
descendantOrSelf, following, followingSibling, getParentContentNodeItem, getParentNodeItem, getPosition, preceding, precedingSiblingMethods inherited from interface dev.metaschema.core.metapath.item.node.INodeItem
accept, ancestor, ancestorOrSelf, descendant, flags, getFlagByName, getFlags, getMetapath, getModelItems, getModelItemsByName, getPathStream, getStaticContext, modelItems, stringValueMethods inherited from interface dev.metaschema.core.metapath.format.IPathSegment
getPath, toPath
-
Method Details
-
format
Description copied from interface:INodeItemGenerate a path for this node in the directed node graph, using the provided path formatter.- Specified by:
formatin interfaceIAssemblyNodeItem- Specified by:
formatin interfaceINodeItem- Specified by:
formatin interfaceIPathSegment- Parameters:
formatter- the path formatter- Returns:
- a textual representation of the path segment
-
getNodeItem
Description copied from interface:IPathSegmentGet the value associated with the path segment.- Specified by:
getNodeItemin interfaceIAssemblyNodeItem- Specified by:
getNodeItemin interfaceIMetapathQueryable- Specified by:
getNodeItemin interfaceIPathSegment- Returns:
- the value or
nullif no value is associated with this path segment
-
accept
Description copied from interface:INodeItemVisitableA visitor callback.- Specified by:
acceptin interfaceIAssemblyNodeItem- Specified by:
acceptin interfaceINodeItemVisitable- Type Parameters:
CONTEXT- the type of the context parameterRESULT- the type of the visitor result- Parameters:
visitor- the calling visitorcontext- a parameter used to pass contextual information between visitors- Returns:
- the visitor result
-