public final class RpcAsContainer extends Object implements ContainerSchemaNode
DocumentedNode.WithStatus| Constructor and Description |
|---|
RpcAsContainer(RpcDefinition parentNode) |
| Modifier and Type | Method and Description |
|---|---|
Set<AugmentationSchema> |
getAvailableAugmentations()
Returns augmentations targeting this element.
|
Collection<DataSchemaNode> |
getChildNodes()
Returns set of all child nodes defined within this DataNodeContainer.
|
ConstraintDefinition |
getConstraints()
Returns the constraints associated with Data Schema Node.
|
DataSchemaNode |
getDataChildByName(QName name)
Returns the child node corresponding to the specified name.
|
String |
getDescription()
All implementations should override this method.
|
Set<GroupingDefinition> |
getGroupings()
Returns set of all groupings defined within this DataNodeContainer.
|
ContainerSchemaNode |
getInput() |
ContainerSchemaNode |
getOutput() |
SchemaPath |
getPath()
Returns the schema path of the instance of the type
SchemaNode SchemaNode. |
QName |
getQName()
Returns QName of the instance of the type
SchemaNode. |
String |
getReference()
All implementations should override this method.
|
Status |
getStatus()
Returns status of the instance of the type
SchemaNode. |
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.
|
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. |
boolean |
isConfiguration()
Returns
true if the data represents configuration data,
otherwise returns false. |
boolean |
isPresenceContainer()
Returns true if this container is marked as presence.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetNotificationsgetActionspublic RpcAsContainer(RpcDefinition parentNode)
public String getDescription()
DocumentedNodegetDescription in interface DocumentedNodepublic String getReference()
DocumentedNodegetReference in interface DocumentedNodepublic Set<TypeDefinition<?>> getTypeDefinitions()
DataNodeContainergetTypeDefinitions in interface DataNodeContainerpublic Set<GroupingDefinition> getGroupings()
DataNodeContainergetGroupings in interface DataNodeContainer@Nonnull public Status getStatus()
DocumentedNode.WithStatusSchemaNode.getStatus in interface DocumentedNode.WithStatusstatus substatementpublic ContainerSchemaNode getInput()
public ContainerSchemaNode getOutput()
@Nonnull public QName getQName()
SchemaNodeSchemaNode.getQName in interface SchemaNode@Nonnull public SchemaPath getPath()
SchemaNodeSchemaNode SchemaNode.getPath in interface SchemaNode@Nonnull public List<UnknownSchemaNode> getUnknownSchemaNodes()
DocumentedNodegetUnknownSchemaNodes in interface DocumentedNodepublic DataSchemaNode getDataChildByName(QName name)
DataNodeContainergetDataChildByName in interface DataNodeContainername - QName of childpublic Set<UsesNode> getUses()
DataNodeContainergetUses in interface DataNodeContainerpublic Set<AugmentationSchema> getAvailableAugmentations()
AugmentationTargetgetAvailableAugmentations in interface AugmentationTargetpublic boolean isPresenceContainer()
ContainerSchemaNodeisPresenceContainer in interface ContainerSchemaNodepublic Collection<DataSchemaNode> getChildNodes()
DataNodeContainergetChildNodes in interface DataNodeContainerpublic boolean isAugmenting()
DataSchemaNodetrue if the data node was added by augmentation,
otherwise returns false.isAugmenting in interface DataSchemaNodetrue if the data node was added by augmentation,
otherwise returns falsepublic boolean isAddedByUses()
DataSchemaNodetrue if the data node was added by uses statement,
otherwise returns false.isAddedByUses in interface DataSchemaNodetrue if the data node was added by uses statement,
otherwise returns falsepublic boolean isConfiguration()
DataSchemaNodetrue if the data represents configuration data,
otherwise returns false.isConfiguration in interface DataSchemaNodetrue if the data represents configuration data,
otherwise returns falsepublic ConstraintDefinition getConstraints()
DataSchemaNodegetConstraints in interface DataSchemaNodeCopyright © 2018 OpenDaylight. All rights reserved.