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, getStatus
argument, getDeclared, getStatementSource, statementDefinition
allSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getStatus
getDescription, getReference
public UsesEffectiveStatementImpl(StmtContext<QName,UsesStatement,EffectiveStatement<QName,UsesStatement>> ctx)
@Nonnull public SchemaPath getGroupingPath()
UsesNode
getGroupingPath
in interface UsesNode
@Nonnull public Set<AugmentationSchema> getAugmentations()
UsesNode
getAugmentations
in interface UsesNode
public boolean isAugmenting()
UsesNode
true
if the data node was added by augmentation,
otherwise returns false
isAugmenting
in interface UsesNode
true
if the data node was added by augmentation,
otherwise returns false
public boolean isAddedByUses()
UsesNode
true
if the data node was added by uses statement,
otherwise returns false
isAddedByUses
in interface UsesNode
true
if the data node was added by uses statement,
otherwise returns false
@Nonnull public Map<SchemaPath,SchemaNode> getRefines()
UsesNode
getRefines
in interface UsesNode
@Nonnull public List<UnknownSchemaNode> getUnknownSchemaNodes()
DocumentedNode
getUnknownSchemaNodes
in interface DocumentedNode
@Nonnull public com.google.common.base.Optional<RevisionAwareXPath> getWhenCondition()
UsesNode
getWhenCondition
in interface UsesNode
Copyright © 2018 OpenDaylight. All rights reserved.