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, getUnknownSchemaNodesgetNamespaceContentsgetDescription, getReference, getStatusargument, getDeclared, getStatementSource, statementDefinitionallSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll, initSubstatementsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetPath, getQNamegetStatusgetDescription, getReference, getUnknownSchemaNodesfindAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, streamEffectiveSubstatementsprotected AbstractEffectiveDataSchemaNode(StmtContext<QName,D,?> ctx)
@Deprecated public final boolean isAugmenting()
CopyableNodetrue if this node was added by augmentation,
otherwise returns false.isAugmenting in interface CopyableNodetrue if this node was added by augmentation,
otherwise returns false@Deprecated public final boolean isAddedByUses()
AddedByUsesAwaretrue if this node was added by uses statement,
otherwise returns false.isAddedByUses in interface AddedByUsesAwaretrue if this node was added by uses statement,
otherwise returns falsepublic final boolean isConfiguration()
DataSchemaNodetrue if the data represents configuration data,
otherwise returns false.isConfiguration in interface DataSchemaNodetrue if the data represents configuration data,
otherwise returns falsepublic final Optional<RevisionAwareXPath> getWhenCondition()
WhenConditionAwareIf 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.