public final class ContainerEffectiveStatementImpl extends AbstractEffectiveDocumentedNode<A,D> implements DerivableSchemaNode
DocumentedNode.WithStatus| Constructor and Description |
|---|
ContainerEffectiveStatementImpl(StmtContext<QName,ContainerStatement,EffectiveStatement<QName,ContainerStatement>> ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<ActionDefinition> |
getActions()
All implementations should override this method.
|
Set<AugmentationSchema> |
getAvailableAugmentations()
Returns augmentations targeting this element.
|
Set<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.
|
Set<GroupingDefinition> |
getGroupings()
Returns set of all groupings defined within this DataNodeContainer.
|
Set<NotificationDefinition> |
getNotifications()
All implementations should override this method.
|
com.google.common.base.Optional<ContainerSchemaNode> |
getOriginal()
If this node is added by uses, returns original node definition from
grouping where it was defined.
|
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. |
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.
|
int |
hashCode() |
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.
|
String |
toString() |
getDescription, getReference, getStatusargument, getDeclared, getStatementSource, statementDefinitionallSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAllclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetConstraints, isAddedByUses, isAugmenting, isConfigurationgetPath, getQNamegetStatusgetDescription, getReference, getUnknownSchemaNodesgetChildNodes, getDataChildByName, getGroupings, getTypeDefinitions, getUsesgetAvailableAugmentationspublic ContainerEffectiveStatementImpl(StmtContext<QName,ContainerStatement,EffectiveStatement<QName,ContainerStatement>> ctx)
public com.google.common.base.Optional<ContainerSchemaNode> getOriginal()
DerivableSchemaNodegetOriginal in interface DerivableSchemaNodepublic Set<ActionDefinition> getActions()
ActionNodeContainerThe default definition is also used by implementations of ContainerSchemaNode which do not support action statements such as InputEffectiveStatementImpl, OutputEffectiveStatementImpl and SchemaContext.
getActions in interface ActionNodeContainerpublic Set<NotificationDefinition> getNotifications()
NotificationNodeContainerThe default definition is also used by implementations of ContainerSchemaNode which do not support notification statements such as InputEffectiveStatementImpl and OutputEffectiveStatementImpl.
getNotifications in interface NotificationNodeContainerpublic boolean isPresenceContainer()
ContainerSchemaNodeisPresenceContainer in interface ContainerSchemaNode@Nonnull public QName getQName()
SchemaNodeSchemaNode.getQName in interface SchemaNode@Nonnull public SchemaPath getPath()
SchemaNodeSchemaNode SchemaNode.getPath in interface SchemaNodepublic 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 DataSchemaNodepublic Set<AugmentationSchema> getAvailableAugmentations()
AugmentationTargetgetAvailableAugmentations in interface AugmentationTarget@Nonnull public List<UnknownSchemaNode> getUnknownSchemaNodes()
DocumentedNodegetUnknownSchemaNodes in interface DocumentedNodepublic final Set<TypeDefinition<?>> getTypeDefinitions()
DataNodeContainergetTypeDefinitions in interface DataNodeContainerpublic final Set<DataSchemaNode> getChildNodes()
DataNodeContainergetChildNodes in interface DataNodeContainerpublic final Set<GroupingDefinition> getGroupings()
DataNodeContainergetGroupings in interface DataNodeContainerpublic final DataSchemaNode getDataChildByName(QName name)
DataNodeContainergetDataChildByName in interface DataNodeContainername - QName of childpublic Set<UsesNode> getUses()
DataNodeContainergetUses in interface DataNodeContainerCopyright © 2018 OpenDaylight. All rights reserved.