Interface ChoiceRuntimeType
- All Superinterfaces:
CompositeRuntimeType,DataRuntimeType,GeneratedRuntimeType,Identifiable<org.opendaylight.yangtools.binding.model.api.JavaTypeName>,Immutable,RuntimeType,RuntimeTypeContainer
A
RuntimeType associated with a choice statement. Note that unlike YANG semantics, in Binding Spec
semantics a type generated for a 'choice' statement is does not implement Augmentable.-
Method Summary
Modifier and TypeMethodDescription@Nullable CaseRuntimeTypebindingCaseChild(org.opendaylight.yangtools.binding.model.api.JavaTypeName typeName) Returns resolvedCaseRuntimeTypefor specified binding class name.Return theEffectiveStatementassociated with this run-time type.@NonNull List<CaseRuntimeType> Return allCaseRuntimeTypevalid at this type's statement.Methods inherited from interface org.opendaylight.yangtools.binding.runtime.api.GeneratedRuntimeType
getIdentifier, javaTypeMethods inherited from interface org.opendaylight.yangtools.binding.runtime.api.RuntimeTypeContainer
bindingChild, bindingChild, schemaTreeChild
-
Method Details
-
statement
ChoiceEffectiveStatement statement()Description copied from interface:RuntimeTypeReturn theEffectiveStatementassociated with this run-time type.- Specified by:
statementin interfaceRuntimeType- Returns:
- Effective statement
-
bindingCaseChild
@Nullable CaseRuntimeType bindingCaseChild(org.opendaylight.yangtools.binding.model.api.JavaTypeName typeName) Returns resolvedCaseRuntimeTypefor specified binding class name.- Parameters:
typeName- Binding class name- Returns:
CaseRuntimeType, or null if absent- Throws:
NullPointerException- iftypeNameis null
-
validCaseChildren
@NonNull List<CaseRuntimeType> validCaseChildren()Return allCaseRuntimeTypevalid at this type's statement.- Returns:
- Valid
CaseRuntimeTypes
-