public abstract class AbstractEffectiveDataSchemaNode<D extends DeclaredStatement<QName>> extends AbstractEffectiveSchemaNode<D> implements DataSchemaNode
DocumentedNode.WithStatus
Modifier | Constructor and Description |
---|---|
protected |
AbstractEffectiveDataSchemaNode(StmtContext<QName,D,?> ctx) |
Modifier and Type | Method and Description |
---|---|
Optional<RevisionAwareXPath> |
getWhenCondition()
Returns when statement.
|
boolean |
isAddedByUses()
Deprecated.
|
boolean |
isAugmenting()
Deprecated.
|
boolean |
isConfiguration()
Returns
true if the data represents configuration data,
otherwise returns false . |
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.
|
getPath, getQName, getUnknownSchemaNodes
getNamespaceContents
getDescription, getReference, getStatus
argument, getDeclared, getStatementSource, statementDefinition
allSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll, initSubstatements
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPath, getQName
getStatus
getDescription, getReference, getUnknownSchemaNodes
findAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, streamEffectiveSubstatements
protected AbstractEffectiveDataSchemaNode(StmtContext<QName,D,?> ctx)
@Deprecated public final boolean isAugmenting()
CopyableNode
true
if this node was added by augmentation,
otherwise returns false
.isAugmenting
in interface CopyableNode
true
if this node was added by augmentation,
otherwise returns false
@Deprecated public final boolean isAddedByUses()
AddedByUsesAware
true
if this node was added by uses statement,
otherwise returns false
.isAddedByUses
in interface AddedByUsesAware
true
if this node was added by uses statement,
otherwise returns false
public final boolean isConfiguration()
DataSchemaNode
true
if the data represents configuration data,
otherwise returns false
.isConfiguration
in interface DataSchemaNode
true
if the data represents configuration data,
otherwise returns false
public final Optional<RevisionAwareXPath> getWhenCondition()
WhenConditionAware
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.
getWhenCondition
in interface WhenConditionAware
@Deprecated public final void resetAugmenting()
isAugmenting()
to false.Copyright © 2019 OpenDaylight. All rights reserved.