Interface Grant
- 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:
Grants
@Generated("mdsal-binding-generator")
public interface Grant
extends org.opendaylight.yangtools.yang.binding.DataObject
This class represents the following YANG schema fragment defined in module aaa
grouping grant {
leaf grantid {
type string;
}
leaf domainid {
type string;
}
leaf userid {
type string;
}
leaf roleid {
type string;
}
}
-
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 domainid, ornullif it is not present.Return grantid, ornullif it is not present.Return roleid, ornullif it is not present.Return userid, ornullif it is not present.default @NonNull StringReturn domainid, guaranteed to be non-null.default @NonNull StringReturn grantid, guaranteed to be non-null.default @NonNull StringReturn roleid, guaranteed to be non-null.default @NonNull StringReturn userid, 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:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>- Specified by:
implementedInterfacein interfaceorg.opendaylight.yangtools.yang.binding.DataObject
-
getGrantid
String getGrantid()Return grantid, ornullif it is not present.An internal wiring detail in the form 'userid@roleid@domainid'.- Returns:
Stringgrantid, ornullif it is not present.
-
requireGrantid
Return grantid, guaranteed to be non-null.An internal wiring detail in the form 'userid@roleid@domainid'.- Returns:
Stringgrantid, guaranteed to be non-null.- Throws:
NoSuchElementException- if grantid is not present
-
getDomainid
String getDomainid()Return domainid, ornullif it is not present.A reference to the domain.- Returns:
Stringdomainid, ornullif it is not present.
-
requireDomainid
Return domainid, guaranteed to be non-null.A reference to the domain.- Returns:
Stringdomainid, guaranteed to be non-null.- Throws:
NoSuchElementException- if domainid is not present
-
getUserid
String getUserid()Return userid, ornullif it is not present.A reference to the user.- Returns:
Stringuserid, ornullif it is not present.
-
requireUserid
Return userid, guaranteed to be non-null.A reference to the user.- Returns:
Stringuserid, guaranteed to be non-null.- Throws:
NoSuchElementException- if userid is not present
-
getRoleid
String getRoleid()Return roleid, ornullif it is not present.A reference to the role.- Returns:
Stringroleid, ornullif it is not present.
-
requireRoleid
Return roleid, guaranteed to be non-null.A reference to the role.- Returns:
Stringroleid, guaranteed to be non-null.- Throws:
NoSuchElementException- if roleid is not present
-