public abstract class AbstractEffectiveDocumentedDataNodeContainer<A,D extends DeclaredStatement<A>> extends AbstractSchemaEffectiveDocumentedNode<A,D> implements DataNodeContainer
DocumentedNode.WithStatus| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEffectiveDocumentedDataNodeContainer(StmtContext<A,D,?> ctx) |
| Modifier and Type | Method and Description |
|---|---|
Optional<DataSchemaNode> |
findDataChildByName(QName name)
Returns the child node corresponding to the specified name.
|
Set<DataSchemaNode> |
getChildNodes()
Returns set of all child nodes defined within this DataNodeContainer.
|
Set<GroupingDefinition> |
getGroupings()
Returns set of all groupings defined within this DataNodeContainer.
|
Set<TypeDefinition<?>> |
getTypeDefinitions()
Returns set of all newly defined types within this DataNodeContainer.
|
Set<UsesNode> |
getUses()
Returns grouping nodes used ny this container.
|
getNamespaceContentsgetDescription, getReference, getStatusargument, getDeclared, getStatementSource, statementDefinitionallSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll, initSubstatementsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindDataTreeChild, findDataTreeChild, findDataTreeChild, getDataChildByNamegetUnknownSchemaNodesfindAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, streamEffectiveSubstatementsprotected AbstractEffectiveDocumentedDataNodeContainer(StmtContext<A,D,?> ctx)
public final Set<TypeDefinition<?>> getTypeDefinitions()
DataNodeContainergetTypeDefinitions in interface DataNodeContainerpublic final Set<DataSchemaNode> getChildNodes()
DataNodeContainer
Note that the nodes returned are NOT data nodes, but rather DataSchemaNodes,
hence ChoiceSchemaNode and CaseSchemaNode are present instead of their children. This
is consistent with schema tree.
getChildNodes in interface DataNodeContainerpublic final Set<GroupingDefinition> getGroupings()
DataNodeContainergetGroupings in interface DataNodeContainerpublic final Optional<DataSchemaNode> findDataChildByName(QName name)
DataNodeContainer
Note that the nodes searched are NOT data nodes, but rather DataSchemaNodes,
hence ChoiceSchemaNode and CaseSchemaNode are returned instead of their matching children.
findDataChildByName in interface DataNodeContainername - QName of childpublic Set<UsesNode> getUses()
DataNodeContainergetUses in interface DataNodeContainerCopyright © 2019 OpenDaylight. All rights reserved.