public final class UsesEffectiveStatementImpl extends AbstractEffectiveDocumentedNode<QName,UsesStatement> implements UsesNode
DocumentedNode.WithStatus| Constructor and Description |
|---|
UsesEffectiveStatementImpl(StmtContext<QName,UsesStatement,EffectiveStatement<QName,UsesStatement>> ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<AugmentationSchema> |
getAugmentations()
Returns augmentations which were specified in this uses node.
|
SchemaPath |
getGroupingPath()
Returns the schema path to used grouping.
|
Map<SchemaPath,SchemaNode> |
getRefines()
Some of the properties of each node in the grouping can be refined with
the "refine" statement.
|
List<UnknownSchemaNode> |
getUnknownSchemaNodes()
Returns unknown schema nodes which belongs to this instance.
|
com.google.common.base.Optional<RevisionAwareXPath> |
getWhenCondition()
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.
|
int |
hashCode() |
boolean |
isAddedByUses()
Returns
true if the data node was added by uses statement,
otherwise returns false |
boolean |
isAugmenting()
Returns
true if the data node was added by augmentation,
otherwise returns false |
String |
toString() |
getDescription, getReference, getStatusargument, getDeclared, getStatementSource, statementDefinitionallSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAllclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetStatusgetDescription, getReferencepublic UsesEffectiveStatementImpl(StmtContext<QName,UsesStatement,EffectiveStatement<QName,UsesStatement>> ctx)
@Nonnull public SchemaPath getGroupingPath()
UsesNodegetGroupingPath in interface UsesNode@Nonnull public Set<AugmentationSchema> getAugmentations()
UsesNodegetAugmentations in interface UsesNodepublic boolean isAugmenting()
UsesNodetrue if the data node was added by augmentation,
otherwise returns falseisAugmenting in interface UsesNodetrue if the data node was added by augmentation,
otherwise returns falsepublic boolean isAddedByUses()
UsesNodetrue if the data node was added by uses statement,
otherwise returns falseisAddedByUses in interface UsesNodetrue if the data node was added by uses statement,
otherwise returns false@Nonnull public Map<SchemaPath,SchemaNode> getRefines()
UsesNodegetRefines in interface UsesNode@Nonnull public List<UnknownSchemaNode> getUnknownSchemaNodes()
DocumentedNodegetUnknownSchemaNodes in interface DocumentedNode@Nonnull public com.google.common.base.Optional<RevisionAwareXPath> getWhenCondition()
UsesNodegetWhenCondition in interface UsesNodeCopyright © 2018 OpenDaylight. All rights reserved.