Class AbstractEffectiveSimpleDataNodeContainer<D extends DeclaredStatement<QName>>
- java.lang.Object
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementBase<A,D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.DeclaredEffectiveStatementBase<A,D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractEffectiveDocumentedNodeWithoutStatus<A,D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractEffectiveDocumentedNode<A,D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractSchemaEffectiveDocumentedNode<A,D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractEffectiveDocumentedDataNodeContainer<QName,D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractEffectiveSimpleDataNodeContainer<D>
-
- All Implemented Interfaces:
AddedByUsesAware
,AugmentationTarget
,CopyableNode
,DataNodeContainer
,DataSchemaNode
,DocumentedNode
,DocumentedNode.WithStatus
,EffectiveStatement<QName,D>
,ModelStatement<QName>
,SchemaNode
,WhenConditionAware
- Direct Known Subclasses:
AbstractEffectiveMustConstraintAwareSimpleDataNodeContainer
public abstract class AbstractEffectiveSimpleDataNodeContainer<D extends DeclaredStatement<QName>> extends AbstractEffectiveDocumentedDataNodeContainer<QName,D> implements AugmentationTarget, DataSchemaNode
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
DocumentedNode.WithStatus
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractEffectiveSimpleDataNodeContainer(StmtContext<QName,D,?> ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Set<AugmentationSchemaNode>
getAvailableAugmentations()
Returns augmentations targeting this element.SchemaPath
getPath()
Returns the schema path of the instance of the typeSchemaNode
.QName
getQName()
Returns QName of the instance of the typeSchemaNode
.Optional<RevisionAwareXPath>
getWhenCondition()
Returns when statement.boolean
isAddedByUses()
Deprecated.boolean
isAugmenting()
Deprecated.boolean
isConfiguration()
Returnstrue
if the data represents configuration data, otherwise returnsfalse
.void
resetAugmenting()
Deprecated.This method is a violation of immutable contract and is a side-effect of bad/incomplete lifecycle, which needs to be fixed.-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractEffectiveDocumentedDataNodeContainer
findDataChildByName, getChildNodes, getGroupings, getTypeDefinitions, getUses
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractSchemaEffectiveDocumentedNode
derivedSet, findDataSchemaNode, getNamespaceContents
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractEffectiveDocumentedNode
getStatus, getUnknownSchemaNodes
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractEffectiveDocumentedNodeWithoutStatus
getDescription, getReference, nullableDescription, nullableReference
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.DeclaredEffectiveStatementBase
argument, getDeclared, getStatementSource, statementDefinition
-
Methods inherited from class org.opendaylight.yangtools.yang.parser.rfc7950.stmt.EffectiveStatementBase
allSubstatementsOfType, effectiveSubstatements, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll, initSubstatements, initSubstatements
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DataNodeContainer
findDataChildByName, findDataTreeChild, findDataTreeChild, findDataTreeChild, getDataChildByName
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode
getDescription, getReference, getUnknownSchemaNodes
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.DocumentedNode.WithStatus
getStatus
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.meta.EffectiveStatement
findAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, streamEffectiveSubstatements
-
-
-
-
Constructor Detail
-
AbstractEffectiveSimpleDataNodeContainer
protected AbstractEffectiveSimpleDataNodeContainer(StmtContext<QName,D,?> ctx)
-
-
Method Detail
-
getQName
public QName getQName()
Description copied from interface:SchemaNode
Returns QName of the instance of the typeSchemaNode
.- Specified by:
getQName
in interfaceSchemaNode
- Returns:
- QName with the name of the schema node
-
getPath
public SchemaPath getPath()
Description copied from interface:SchemaNode
Returns the schema path of the instance of the typeSchemaNode
.- Specified by:
getPath
in interfaceSchemaNode
- Returns:
- schema path of the schema node
-
isAugmenting
@Deprecated public boolean isAugmenting()
Deprecated.Description copied from interface:CopyableNode
Returnstrue
if this node was added by augmentation, otherwise returnsfalse
.- Specified by:
isAugmenting
in interfaceCopyableNode
- Returns:
true
if this node was added by augmentation, otherwise returnsfalse
-
isAddedByUses
@Deprecated public boolean isAddedByUses()
Deprecated.Description copied from interface:AddedByUsesAware
Returnstrue
if this node was added by uses statement, otherwise returnsfalse
.- Specified by:
isAddedByUses
in interfaceAddedByUsesAware
- Returns:
true
if this node was added by uses statement, otherwise returnsfalse
-
isConfiguration
public boolean isConfiguration()
Description copied from interface:DataSchemaNode
Returnstrue
if the data represents configuration data, otherwise returnsfalse
.- Specified by:
isConfiguration
in interfaceDataSchemaNode
- Returns:
true
if the data represents configuration data, otherwise returnsfalse
-
getAvailableAugmentations
public Set<AugmentationSchemaNode> getAvailableAugmentations()
Description copied from interface:AugmentationTarget
Returns augmentations targeting this element.- Specified by:
getAvailableAugmentations
in interfaceAugmentationTarget
- Returns:
- set of augmentations targeting this element.
-
getWhenCondition
public final Optional<RevisionAwareXPath> getWhenCondition()
Description copied from interface:WhenConditionAware
Returns when statement.If when condition is present node defined by the parent data definition statement is only valid when the returned XPath expression conceptually evaluates to "true" for a particular instance, then the node defined by the parent data definition statement is valid; otherwise, it is not.
- Specified by:
getWhenCondition
in interfaceWhenConditionAware
- Returns:
- XPath condition
-
resetAugmenting
@Deprecated public final void resetAugmenting()
Deprecated.This method is a violation of immutable contract and is a side-effect of bad/incomplete lifecycle, which needs to be fixed. Do not introduce new callers. This deficiency is tracked in YANGTOOLS-724.ResetisAugmenting()
to false.
-
-