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

    Fields
    Modifier and Type
    Field
    Description
    static final @NonNull org.opendaylight.yangtools.yang.common.QName
    YANG identifier of the statement represented by this class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return domainid, or null if it is not present.
    Return grantid, or null if it is not present.
    Return roleid, or null if it is not present.
    Return userid, or null if it is not present.
    Class<? extends Grant>
     
    default @NonNull String
    Return domainid, guaranteed to be non-null.
    default @NonNull String
    Return grantid, guaranteed to be non-null.
    default @NonNull String
    Return roleid, guaranteed to be non-null.
    default @NonNull String
    Return userid, guaranteed to be non-null.
  • Field Details

    • QNAME

      static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
      YANG identifier of the statement represented by this class.
  • Method Details

    • implementedInterface

      Class<? extends Grant> implementedInterface()
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.BindingContract<org.opendaylight.yangtools.yang.binding.DataContainer>
      Specified by:
      implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
    • getGrantid

      String getGrantid()
      Return grantid, or null if it is not present.
           
               An internal wiring detail in the form 'userid@roleid@domainid'.
           
       
      Returns:
      String grantid, or null if it is not present.
    • requireGrantid

      default @NonNull String requireGrantid()
      Return grantid, guaranteed to be non-null.
           
               An internal wiring detail in the form 'userid@roleid@domainid'.
           
       
      Returns:
      String grantid, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if grantid is not present
    • getDomainid

      String getDomainid()
      Return domainid, or null if it is not present.
           
               A reference to the domain.
           
       
      Returns:
      String domainid, or null if it is not present.
    • requireDomainid

      default @NonNull String requireDomainid()
      Return domainid, guaranteed to be non-null.
           
               A reference to the domain.
           
       
      Returns:
      String domainid, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if domainid is not present
    • getUserid

      String getUserid()
      Return userid, or null if it is not present.
           
               A reference to the user.
           
       
      Returns:
      String userid, or null if it is not present.
    • requireUserid

      default @NonNull String requireUserid()
      Return userid, guaranteed to be non-null.
           
               A reference to the user.
           
       
      Returns:
      String userid, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if userid is not present
    • getRoleid

      String getRoleid()
      Return roleid, or null if it is not present.
           
               A reference to the role.
           
       
      Returns:
      String roleid, or null if it is not present.
    • requireRoleid

      default @NonNull String requireRoleid()
      Return roleid, guaranteed to be non-null.
           
               A reference to the role.
           
       
      Returns:
      String roleid, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if roleid is not present