Interface PlatformSubcomponentRefTop
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>,org.opendaylight.yangtools.yang.binding.BindingObject,org.opendaylight.yangtools.yang.binding.DataContainer,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
Component
@Generated("mdsal-binding-generator")
public interface PlatformSubcomponentRefTop
extends org.opendaylight.yangtools.yang.binding.DataObject
Top-level grouping for list of subcomponent references
This class represents the following YANG schema fragment defined in module openconfig-platform
grouping platform-subcomponent-ref-top {
container subcomponents {
list subcomponent {
key name;
leaf name {
type leafref {
path ../config/name;
}
}
container config {
uses platform-subcomponent-ref-config;
}
container state {
config false;
uses platform-subcomponent-ref-config;
uses platform-subcomponent-ref-state;
}
}
}
}
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QNameYANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn subcomponents, ornullif it is not present.Class<? extends PlatformSubcomponentRefTop>@NonNull SubcomponentsReturn subcomponents, or an empty instance if it is not present.
-
Field Details
-
QNAME
static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAMEYANG identifier of the statement represented by this class.
-
-
Method Details
-
implementedInterface
Class<? extends PlatformSubcomponentRefTop> implementedInterface()- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getSubcomponents
Subcomponents getSubcomponents()Return subcomponents, ornullif it is not present.Enclosing container for subcomponent references- Returns:
Subcomponentssubcomponents, ornullif it is not present.
-
nonnullSubcomponents
@NonNull Subcomponents nonnullSubcomponents()Return subcomponents, or an empty instance if it is not present.- Returns:
Subcomponentssubcomponents, or an empty instance if it is not present.
-