public abstract class AbstractEffectiveSimpleDataNodeContainer<D extends DeclaredStatement<QName>> extends AbstractEffectiveDocumentedDataNodeContainer<QName,D> implements AugmentationTarget, DataSchemaNode
DocumentedNode.WithStatus| Modifier | Constructor and Description |
|---|---|
protected |
AbstractEffectiveSimpleDataNodeContainer(StmtContext<QName,D,?> ctx) |
| Modifier and Type | Method and Description |
|---|---|
Set<AugmentationSchemaNode> |
getAvailableAugmentations()
Returns augmentations targeting this element.
|
SchemaPath |
getPath()
Returns the schema path of the instance of the type
SchemaNode. |
QName |
getQName()
Returns QName of the instance of the type
SchemaNode. |
List<UnknownSchemaNode> |
getUnknownSchemaNodes()
Returns unknown schema nodes which belongs to this instance.
|
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.
|
findDataChildByName, getChildNodes, getGroupings, getTypeDefinitions, getUsesgetNamespaceContentsgetDescription, getReference, getStatusargument, getDeclared, getStatementSource, statementDefinitionallSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll, initSubstatementsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStatusgetDescription, getReferencefindDataTreeChild, findDataTreeChild, findDataTreeChild, getDataChildByNamefindAll, findFirstEffectiveSubstatement, findFirstEffectiveSubstatementArgument, streamEffectiveSubstatementsprotected AbstractEffectiveSimpleDataNodeContainer(StmtContext<QName,D,?> ctx)
public QName getQName()
SchemaNodeSchemaNode.getQName in interface SchemaNodepublic SchemaPath getPath()
SchemaNodeSchemaNode.getPath in interface SchemaNode@Deprecated public 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 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 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 Set<AugmentationSchemaNode> getAvailableAugmentations()
AugmentationTargetgetAvailableAugmentations in interface AugmentationTargetpublic List<UnknownSchemaNode> getUnknownSchemaNodes()
DocumentedNodegetUnknownSchemaNodes in interface DocumentedNodepublic 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.