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.
|
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 this node was added by uses statement,
otherwise returns false . |
boolean |
isAugmenting()
Returns
true if this 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, getStatus
argument, getDeclared, getStatementSource, statementDefinition
allSubstatementsOfType, effectiveSubstatements, firstEffective, firstEffectiveSubstatementOfType, firstSchemaNode, firstSubstatementOfType, firstSubstatementOfType, get, getAll
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getConstraints, isConfiguration
getPath, getQName
getStatus
getDescription, getReference, getUnknownSchemaNodes
isAddedByUses, isAugmenting
getChildNodes, getDataChildByName, getGroupings, getTypeDefinitions, getUses
getAvailableAugmentations
public ContainerEffectiveStatementImpl(StmtContext<QName,ContainerStatement,EffectiveStatement<QName,ContainerStatement>> ctx)
public Optional<ContainerSchemaNode> getOriginal()
DerivableSchemaNode
getOriginal
in interface DerivableSchemaNode
public Set<ActionDefinition> getActions()
ActionNodeContainer
The default definition is also used by implementations of ContainerSchemaNode which do not support action statements such as InputEffectiveStatementImpl, OutputEffectiveStatementImpl and SchemaContext.
getActions
in interface ActionNodeContainer
public Set<NotificationDefinition> getNotifications()
NotificationNodeContainer
The default definition is also used by implementations of ContainerSchemaNode which do not support notification statements such as InputEffectiveStatementImpl and OutputEffectiveStatementImpl.
getNotifications
in interface NotificationNodeContainer
public boolean isPresenceContainer()
ContainerSchemaNode
isPresenceContainer
in interface ContainerSchemaNode
@Nonnull public QName getQName()
SchemaNode
SchemaNode
.getQName
in interface SchemaNode
@Nonnull public SchemaPath getPath()
SchemaNode
SchemaNode
SchemaNode
.getPath
in interface SchemaNode
public boolean isAugmenting()
CopyableNode
true
if this node was added by augmentation,
otherwise returns false
.isAugmenting
in interface CopyableNode
true
if this node was added by augmentation,
otherwise returns false
public boolean isAddedByUses()
CopyableNode
true
if this node was added by uses statement,
otherwise returns false
.isAddedByUses
in interface CopyableNode
true
if this 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
public Set<AugmentationSchema> getAvailableAugmentations()
AugmentationTarget
getAvailableAugmentations
in interface AugmentationTarget
@Nonnull public List<UnknownSchemaNode> getUnknownSchemaNodes()
DocumentedNode
getUnknownSchemaNodes
in interface DocumentedNode
public final Set<TypeDefinition<?>> getTypeDefinitions()
DataNodeContainer
getTypeDefinitions
in interface DataNodeContainer
public final Set<DataSchemaNode> getChildNodes()
DataNodeContainer
getChildNodes
in interface DataNodeContainer
public final Set<GroupingDefinition> getGroupings()
DataNodeContainer
getGroupings
in interface DataNodeContainer
public final DataSchemaNode getDataChildByName(QName name)
DataNodeContainer
getDataChildByName
in interface DataNodeContainer
name
- QName of childpublic Set<UsesNode> getUses()
DataNodeContainer
getUses
in interface DataNodeContainer
Copyright © 2017 OpenDaylight. All rights reserved.