public final class ChoiceEffectiveStatementImpl extends AbstractEffectiveDataSchemaNode<ChoiceStatement> implements ChoiceSchemaNode, DerivableSchemaNode
DocumentedNode.WithStatus| Constructor and Description |
|---|
ChoiceEffectiveStatementImpl(StmtContext<QName,ChoiceStatement,EffectiveStatement<QName,ChoiceStatement>> ctx) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Set<AugmentationSchema> |
getAvailableAugmentations() |
ChoiceCaseNode |
getCaseNodeByName(QName name)
Returns the concrete case according to specified Q name.
|
ChoiceCaseNode |
getCaseNodeByName(String name)
Returns the concrete case according to specified name.
|
Set<ChoiceCaseNode> |
getCases()
Returns cases of choice.
|
String |
getDefaultCase()
Returns name of case which is in the choice specified as default
|
com.google.common.base.Optional<ChoiceSchemaNode> |
getOriginal()
If this node is added by uses, returns original node definition from
grouping where it was defined.
|
int |
hashCode() |
String |
toString() |
getConstraints, isAddedByUses, isAugmenting, isConfigurationgetPath, getQName, getUnknownSchemaNodesgetDescription, 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, getUnknownSchemaNodespublic ChoiceEffectiveStatementImpl(StmtContext<QName,ChoiceStatement,EffectiveStatement<QName,ChoiceStatement>> ctx)
public com.google.common.base.Optional<ChoiceSchemaNode> getOriginal()
DerivableSchemaNodegetOriginal in interface DerivableSchemaNodepublic Set<AugmentationSchema> getAvailableAugmentations()
getAvailableAugmentations in interface AugmentationTargetpublic Set<ChoiceCaseNode> getCases()
ChoiceSchemaNodegetCases in interface ChoiceSchemaNodecase
substatement of the choice statementpublic ChoiceCaseNode getCaseNodeByName(QName name)
ChoiceSchemaNodegetCaseNodeByName in interface ChoiceSchemaNodename - QName of seeked Choice Case Nodenull otherwisepublic ChoiceCaseNode getCaseNodeByName(String name)
ChoiceSchemaNodegetCaseNodeByName in interface ChoiceSchemaNodename - name of seeked child as Stringnull otherwisepublic String getDefaultCase()
ChoiceSchemaNodegetDefaultCase in interface ChoiceSchemaNodedefault substatement of
choice statement.Copyright © 2018 OpenDaylight. All rights reserved.