public final class EffectiveAugmentationSchema extends Object implements AugmentationSchema
Constructor and Description |
---|
EffectiveAugmentationSchema(AugmentationSchema augmentSchema,
Set<DataSchemaNode> realChildSchemas) |
Modifier and Type | Method and Description |
---|---|
Set<DataSchemaNode> |
getChildNodes()
Returns set of all child nodes defined within this DataNodeContainer.
|
DataSchemaNode |
getDataChildByName(QName name)
Returns the child node corresponding to the specified name.
|
String |
getDescription()
Returns description text.
|
Set<GroupingDefinition> |
getGroupings()
Returns set of all groupings defined within this DataNodeContainer.
|
com.google.common.base.Optional<AugmentationSchema> |
getOriginalDefinition()
Returns Augmentation Definition from which this augmentation is derived
if augmentation was added transitively via augmented uses.
|
String |
getReference()
Returns reference text.
|
Status |
getStatus()
Returns status of this node.
|
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 node children.
|
Set<UsesNode> |
getUses()
Returns grouping nodes used ny this container.
|
RevisionAwareXPath |
getWhenCondition()
Returns when statement.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNotifications
getActions
public EffectiveAugmentationSchema(AugmentationSchema augmentSchema, Set<DataSchemaNode> realChildSchemas)
public RevisionAwareXPath getWhenCondition()
AugmentationSchema
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.
getWhenCondition
in interface AugmentationSchema
public String getDescription()
AugmentationSchema
getDescription
in interface AugmentationSchema
public String getReference()
AugmentationSchema
getReference
in interface AugmentationSchema
public Status getStatus()
AugmentationSchema
getStatus
in interface AugmentationSchema
public SchemaPath getTargetPath()
AugmentationSchema
getTargetPath
in interface AugmentationSchema
public List<UnknownSchemaNode> getUnknownSchemaNodes()
AugmentationSchema
getUnknownSchemaNodes
in interface AugmentationSchema
public Set<TypeDefinition<?>> getTypeDefinitions()
DataNodeContainer
getTypeDefinitions
in interface DataNodeContainer
public Set<DataSchemaNode> getChildNodes()
DataNodeContainer
getChildNodes
in interface DataNodeContainer
public Set<GroupingDefinition> getGroupings()
DataNodeContainer
getGroupings
in interface DataNodeContainer
public DataSchemaNode getDataChildByName(QName name)
DataNodeContainer
getDataChildByName
in interface DataNodeContainer
name
- QName of childpublic Set<UsesNode> getUses()
DataNodeContainer
getUses
in interface DataNodeContainer
public com.google.common.base.Optional<AugmentationSchema> getOriginalDefinition()
AugmentationSchema
getOriginalDefinition
in interface AugmentationSchema
Copyright © 2018 OpenDaylight. All rights reserved.