Interface Group
- 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:
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
FieldsModifier and TypeFieldDescriptionstatic final @NonNull org.opendaylight.yangtools.yang.common.QName
YANG identifier of the statement represented by this class. -
Method Summary
Modifier and TypeMethodDescriptionReturn barrier, ornull
if it is not present.Return buckets, ornull
if it is not present.Return containerName, ornull
if it is not present.Return groupId, ornull
if it is not present.Return groupName, ornull
if it is not present.Return groupType, ornull
if it is not present.default @NonNull Boolean
Return barrier, guaranteed to be non-null.default @NonNull String
Return containerName, guaranteed to be non-null.default @NonNull GroupId
Return groupId, guaranteed to be non-null.default @NonNull String
Return groupName, guaranteed to be non-null.default @NonNull GroupTypes
Return groupType, 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
- 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
-
getGroupType
GroupTypes getGroupType()Return groupType, ornull
if it is not present.- Returns:
GroupTypes
groupType, ornull
if it is not present.
-
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
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
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
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
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.
-