Interface IDefinitionNodeItem<D extends IDefinition,I extends INamedInstance>
-
- All Superinterfaces:
IItem
,INodeItem
,INodeItemVisitable
,IPathSegment
- All Known Subinterfaces:
IAssemblyNodeItem
,ICycledAssemblyNodeItem
,IFieldNodeItem
,IFlagNodeItem
,IModelNodeItem<D,I>
,IRootAssemblyNodeItem
public interface IDefinitionNodeItem<D extends IDefinition,I extends INamedInstance> extends INodeItem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description D
getDefinition()
Get the Metaschema definition associated with this node.I
getInstance()
Retrieve the instance associated with this path segment.default String
getName()
Get the name of the node item.-
Methods inherited from interface gov.nist.secauto.metaschema.core.metapath.item.IItem
getValue, hasValue
-
Methods inherited from interface gov.nist.secauto.metaschema.core.metapath.item.node.INodeItem
ancestor, ancestorOrSelf, descendant, descendantOrSelf, flags, format, getBaseUri, getFlagByName, getFlags, getMetapath, getModelItems, getModelItemsByName, getNodeItemType, getParentContentNodeItem, getParentNodeItem, getPathStream, modelItems
-
Methods inherited from interface gov.nist.secauto.metaschema.core.metapath.item.node.INodeItemVisitable
accept
-
Methods inherited from interface gov.nist.secauto.metaschema.core.metapath.format.IPathSegment
getNodeItem, getPath, toPath
-
-
-
-
Method Detail
-
getDefinition
@NonNull D getDefinition()
Get the Metaschema definition associated with this node.- Returns:
- the definition
-
getInstance
I getInstance()
Retrieve the instance associated with this path segment.- Returns:
- the instance of the segment, or
null
if it doesn't have one
-
-