Class AbstractEffectiveDataSchemaNode<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<QName,D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractEffectiveSchemaNode<D>
-
- org.opendaylight.yangtools.yang.parser.rfc7950.stmt.AbstractEffectiveDataSchemaNode<D>
-
- All Implemented Interfaces:
AddedByUsesAware
,CopyableNode
,DataSchemaNode
,DocumentedNode
,DocumentedNode.WithStatus
,EffectiveStatement<QName,D>
,ModelStatement<QName>
,SchemaNode
,WhenConditionAware
- Direct Known Subclasses:
AbstractEffectiveMustConstraintAwareDataSchemaNode
public abstract class AbstractEffectiveDataSchemaNode<D extends DeclaredStatement<QName>> extends AbstractEffectiveSchemaNode<D> implements 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
AbstractEffectiveDataSchemaNode(StmtContext<QName,D,?> ctx)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.AbstractEffectiveSchemaNode
getPath, getQName
-
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.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
-
Methods inherited from interface org.opendaylight.yangtools.yang.model.api.SchemaNode
getPath, getQName
-
-
-
-
Constructor Detail
-
AbstractEffectiveDataSchemaNode
protected AbstractEffectiveDataSchemaNode(StmtContext<QName,D,?> ctx)
-
-
Method Detail
-
isAugmenting
@Deprecated public final 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 final 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 final 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
-
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.
-
-