Interface Group
-
- All Superinterfaces:
org.opendaylight.yangtools.yang.binding.BindingObject
,org.opendaylight.yangtools.yang.binding.DataContainer
,org.opendaylight.yangtools.yang.binding.DataObject
- All Known Subinterfaces:
AddGroupCaseData
,AddGroupInput
,BatchAddGroups
,BatchRemoveGroups
,FlatBatchAddGroup
,FlatBatchRemoveGroup
,Group
,GroupDesc
,GroupDescStats
,GroupMessage
,NodeGroup
,OriginalBatchedGroup
,OriginalGroup
,RemoveGroupCaseData
,RemoveGroupInput
,StaleGroup
,UpdatedBatchedGroup
,UpdatedGroup
,UpdateGroupCaseData
@Generated("mdsal-binding-generator") public interface Group extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module opendaylight-group-types
grouping group { leaf group-type { type group-types; } leaf group-id { type group-id; } leaf group-name { type string; } leaf container-name { type string; } leaf barrier { type boolean; } container buckets { list bucket { key bucket-id; leaf bucket-id { type bucket-id; } leaf weight { type uint16; } leaf watch_port { type uint32; } leaf watch_group { type uint32; } uses action:action-list; } } }
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
YANG identifier of the statement represented by this class.
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Boolean
getBarrier()
Return barrier, ornull
if it is not present.Buckets
getBuckets()
Return buckets, ornull
if it is not present.String
getContainerName()
Return containerName, ornull
if it is not present.GroupId
getGroupId()
Return groupId, ornull
if it is not present.String
getGroupName()
Return groupName, ornull
if it is not present.GroupTypes
getGroupType()
Return groupType, ornull
if it is not present.Class<? extends Group>
implementedInterface()
default @NonNull Boolean
requireBarrier()
Return barrier, guaranteed to be non-null.default @NonNull String
requireContainerName()
Return containerName, guaranteed to be non-null.default @NonNull GroupId
requireGroupId()
Return groupId, guaranteed to be non-null.default @NonNull String
requireGroupName()
Return groupName, guaranteed to be non-null.default @NonNull GroupTypes
requireGroupType()
Return groupType, guaranteed to be non-null.
-
-
-
Method Detail
-
implementedInterface
Class<? extends Group> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getGroupType
GroupTypes getGroupType()
Return groupType, ornull
if it is not present.- Returns:
GroupTypes
groupType, ornull
if it is not present.
-
requireGroupType
default @NonNull GroupTypes requireGroupType()
Return groupType, guaranteed to be non-null.- Returns:
GroupTypes
groupType, guaranteed to be non-null.- Throws:
NoSuchElementException
- if groupType is not present
-
getGroupId
GroupId getGroupId()
Return groupId, ornull
if it is not present.- Returns:
GroupId
groupId, ornull
if it is not present.
-
requireGroupId
default @NonNull GroupId requireGroupId()
Return groupId, guaranteed to be non-null.- Returns:
GroupId
groupId, guaranteed to be non-null.- Throws:
NoSuchElementException
- if groupId is not present
-
getGroupName
String getGroupName()
Return groupName, ornull
if it is not present.- Returns:
String
groupName, ornull
if it is not present.
-
requireGroupName
default @NonNull String requireGroupName()
Return groupName, guaranteed to be non-null.- Returns:
String
groupName, guaranteed to be non-null.- Throws:
NoSuchElementException
- if groupName is not present
-
getContainerName
String getContainerName()
Return containerName, ornull
if it is not present.- Returns:
String
containerName, ornull
if it is not present.
-
requireContainerName
default @NonNull String requireContainerName()
Return containerName, guaranteed to be non-null.- Returns:
String
containerName, guaranteed to be non-null.- Throws:
NoSuchElementException
- if containerName is not present
-
getBarrier
Boolean getBarrier()
Return barrier, ornull
if it is not present.- Returns:
Boolean
barrier, ornull
if it is not present.
-
requireBarrier
default @NonNull Boolean requireBarrier()
Return barrier, guaranteed to be non-null.- Returns:
Boolean
barrier, guaranteed to be non-null.- Throws:
NoSuchElementException
- if barrier is not present
-
getBuckets
Buckets getBuckets()
Return buckets, ornull
if it is not present.- Returns:
Buckets
buckets, ornull
if it is not present.
-
-