Interface BundleCommonGrouping
- 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:
AddBundleMessagesInput
,BundleAddMessageGrouping
,BundleControlGrouping
,ControlBundleInput
,OnfAddMessageGroupingData
,OnfControlGroupingData
,SalAddMessageData
,SalControlData
@Generated("mdsal-binding-generator")
public interface BundleCommonGrouping
extends org.opendaylight.yangtools.yang.binding.DataObject
Common fields of bundle messages.
This class represents the following YANG schema fragment defined in module onf-extensions
grouping bundle-common-grouping { leaf bundle-id { type bundle-id; } leaf flags { type bundle-flags; } list bundle-property { uses bundle-property-grouping; } }
-
Field Summary
Modifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn bundleId, ornull
if it is not present.@Nullable List<BundleProperty>
Return bundleProperty, ornull
if it is not present.getFlags()
Return flags, ornull
if it is not present.Class<? extends BundleCommonGrouping>
default @NonNull List<BundleProperty>
Return bundleProperty, or an empty list if it is not present.default @NonNull BundleId
Return bundleId, guaranteed to be non-null.default @NonNull BundleFlags
Return flags, guaranteed to be non-null.
-
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 BundleCommonGrouping> implementedInterface()- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getBundleId
BundleId getBundleId()Return bundleId, ornull
if it is not present.- Returns:
BundleId
bundleId, ornull
if it is not present.
-
requireBundleId
Return bundleId, guaranteed to be non-null.- Returns:
BundleId
bundleId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if bundleId is not present
-
getFlags
BundleFlags getFlags()Return flags, ornull
if it is not present.- Returns:
BundleFlags
flags, ornull
if it is not present.
-
requireFlags
Return flags, guaranteed to be non-null.- Returns:
BundleFlags
flags, guaranteed to be non-null.- Throws:
NoSuchElementException
- if flags is not present
-
getBundleProperty
@Nullable List<BundleProperty> getBundleProperty()Return bundleProperty, ornull
if it is not present.- Returns:
List<BundleProperty>
bundleProperty, ornull
if it is not present.
-
nonnullBundleProperty
Return bundleProperty, or an empty list if it is not present.- Returns:
List<BundleProperty>
bundleProperty, or an empty list if it is not present.
-