public final class EffectiveAugmentationSchema extends Object implements AugmentationSchemaNode
DocumentedNode.WithStatus| Constructor and Description |
|---|
EffectiveAugmentationSchema(AugmentationSchemaNode augmentSchema,
Set<DataSchemaNode> realChildSchemas) |
| Modifier and Type | Method and Description |
|---|---|
static AugmentationSchemaNode |
create(AugmentationSchemaNode schema,
DataNodeContainer parent)
Returns an AugmentationSchemaNode as effective in a parent node.
|
Optional<DataSchemaNode> |
findDataChildByName(QName name)
Returns the child node corresponding to the specified name.
|
Set<ActionDefinition> |
getActions()
Return the set of actions.
|
Set<DataSchemaNode> |
getChildNodes()
Returns set of all child nodes defined within this DataNodeContainer.
|
Optional<String> |
getDescription()
Returns the value of the argument of YANG
description keyword. |
Set<GroupingDefinition> |
getGroupings()
Returns set of all groupings defined within this DataNodeContainer.
|
Set<NotificationDefinition> |
getNotifications()
Return the set of notifications in this container, keyed by QName.
|
Optional<AugmentationSchemaNode> |
getOriginalDefinition()
Returns Augmentation Definition from which this augmentation is derived
if augmentation was added transitively via augmented uses.
|
Optional<String> |
getReference()
Returns the value of the argument of YANG
reference keyword. |
Status |
getStatus()
Returns status of the instance of the type
SchemaNode. |
SchemaPath |
getTargetPath()
Returns augmentation schema path.
|
Set<TypeDefinition<?>> |
getTypeDefinitions()
Returns set of all newly defined types within this DataNodeContainer.
|
List<UnknownSchemaNode> |
getUnknownSchemaNodes()
Returns unknown schema nodes which belongs to this instance.
|
Set<UsesNode> |
getUses()
Returns grouping nodes used ny this container.
|
Optional<RevisionAwareXPath> |
getWhenCondition()
Returns when statement.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitfindDataTreeChild, findDataTreeChild, findDataTreeChild, getDataChildByNamepublic EffectiveAugmentationSchema(AugmentationSchemaNode augmentSchema, Set<DataSchemaNode> realChildSchemas)
public static AugmentationSchemaNode create(AugmentationSchemaNode schema, DataNodeContainer parent)
schema - Augmentation schemaparent - Parent schemaNullPointerException - if any of the arguments is nullpublic 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 WhenConditionAwarepublic Optional<String> getDescription()
DocumentedNodedescription keyword.getDescription in interface DocumentedNodepublic Optional<String> getReference()
DocumentedNodereference keyword.getReference in interface DocumentedNodepublic Status getStatus()
DocumentedNode.WithStatusSchemaNode.getStatus in interface DocumentedNode.WithStatusstatus substatementpublic SchemaPath getTargetPath()
AugmentationSchemaNodegetTargetPath in interface AugmentationSchemaNodepublic List<UnknownSchemaNode> getUnknownSchemaNodes()
DocumentedNodegetUnknownSchemaNodes in interface DocumentedNodepublic Set<TypeDefinition<?>> getTypeDefinitions()
DataNodeContainergetTypeDefinitions in interface DataNodeContainerpublic Set<DataSchemaNode> getChildNodes()
DataNodeContainer
Note that the nodes returned are NOT data nodes, but rather DataSchemaNodes,
hence ChoiceSchemaNode and CaseSchemaNode are present instead of their children. This
is consistent with schema tree.
getChildNodes in interface DataNodeContainerpublic Set<GroupingDefinition> getGroupings()
DataNodeContainergetGroupings in interface DataNodeContainerpublic Optional<DataSchemaNode> findDataChildByName(QName name)
DataNodeContainer
Note that the nodes searched are NOT data nodes, but rather DataSchemaNodes,
hence ChoiceSchemaNode and CaseSchemaNode are returned instead of their matching children.
findDataChildByName in interface DataNodeContainername - QName of childpublic Set<UsesNode> getUses()
DataNodeContainergetUses in interface DataNodeContainerpublic Optional<AugmentationSchemaNode> getOriginalDefinition()
AugmentationSchemaNodegetOriginalDefinition in interface AugmentationSchemaNodepublic Set<ActionDefinition> getActions()
ActionNodeContainergetActions in interface ActionNodeContainerpublic Set<NotificationDefinition> getNotifications()
NotificationNodeContainerAugmentationSchemaNodes, GroupingDefinitions, ListSchemaNodes and
ContainerSchemaNodes can also contain NotificationDefinitions.getNotifications in interface NotificationNodeContainerCopyright © 2019 OpenDaylight. All rights reserved.