public interface UsesNode extends DocumentedNode.WithStatus
uses
substatement.DocumentedNode.WithStatus
Modifier and Type | Method and Description |
---|---|
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.
|
default 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.
|
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 |
getStatus
getDescription, getReference, getUnknownSchemaNodes
@Nonnull SchemaPath getGroupingPath()
@Nonnull Set<AugmentationSchema> getAugmentations()
boolean isAugmenting()
true
if the data node was added by augmentation,
otherwise returns false
true
if the data node was added by augmentation,
otherwise returns false
boolean isAddedByUses()
true
if the data node was added by uses statement,
otherwise returns false
true
if the data node was added by uses statement,
otherwise returns false
@Nonnull Map<SchemaPath,SchemaNode> getRefines()
@Nonnull default com.google.common.base.Optional<RevisionAwareXPath> getWhenCondition()
Copyright © 2018 OpenDaylight. All rights reserved.