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, wait
getNotifications
getActions
public RpcAsContainer(RpcDefinition parentNode)
public String getDescription()
DocumentedNode
getDescription
in interface DocumentedNode
public String getReference()
DocumentedNode
getReference
in interface DocumentedNode
public Set<TypeDefinition<?>> getTypeDefinitions()
DataNodeContainer
getTypeDefinitions
in interface DataNodeContainer
public Set<GroupingDefinition> getGroupings()
DataNodeContainer
getGroupings
in interface DataNodeContainer
@Nonnull public Status getStatus()
DocumentedNode.WithStatus
SchemaNode
.getStatus
in interface DocumentedNode.WithStatus
status
substatementpublic ContainerSchemaNode getInput()
public ContainerSchemaNode getOutput()
@Nonnull public QName getQName()
SchemaNode
SchemaNode
.getQName
in interface SchemaNode
@Nonnull public SchemaPath getPath()
SchemaNode
SchemaNode
SchemaNode
.getPath
in interface SchemaNode
@Nonnull public List<UnknownSchemaNode> getUnknownSchemaNodes()
DocumentedNode
getUnknownSchemaNodes
in interface DocumentedNode
public DataSchemaNode getDataChildByName(QName name)
DataNodeContainer
getDataChildByName
in interface DataNodeContainer
name
- QName of childpublic Set<UsesNode> getUses()
DataNodeContainer
getUses
in interface DataNodeContainer
public Set<AugmentationSchema> getAvailableAugmentations()
AugmentationTarget
getAvailableAugmentations
in interface AugmentationTarget
public boolean isPresenceContainer()
ContainerSchemaNode
isPresenceContainer
in interface ContainerSchemaNode
public Collection<DataSchemaNode> getChildNodes()
DataNodeContainer
getChildNodes
in interface DataNodeContainer
public boolean isAugmenting()
DataSchemaNode
true
if the data node was added by augmentation,
otherwise returns false
.isAugmenting
in interface DataSchemaNode
true
if the data node was added by augmentation,
otherwise returns false
public boolean isAddedByUses()
DataSchemaNode
true
if the data node was added by uses statement,
otherwise returns false
.isAddedByUses
in interface DataSchemaNode
true
if the data node was added by uses statement,
otherwise returns false
public boolean isConfiguration()
DataSchemaNode
true
if the data represents configuration data,
otherwise returns false
.isConfiguration
in interface DataSchemaNode
true
if the data represents configuration data,
otherwise returns false
public ConstraintDefinition getConstraints()
DataSchemaNode
getConstraints
in interface DataSchemaNode
Copyright © 2018 OpenDaylight. All rights reserved.