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:
Roles

@Generated("mdsal-binding-generator") public interface Role extends org.opendaylight.yangtools.yang.binding.DataObject

This class represents the following YANG schema fragment defined in module aaa

 grouping role {
   leaf roleid {
     type string;
   }
   leaf name {
     type string;
   }
   leaf description {
     type string;
     default "";
   }
   leaf domainid {
     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 description, or null if it is not present.
    Return domainid, or null if it is not present.
    Return name, or null if it is not present.
    Return roleid, or null if it is not present.
    Class<? extends Role>
     
    default @NonNull String
    Return description, guaranteed to be non-null.
    default @NonNull String
    Return domainid, guaranteed to be non-null.
    default @NonNull String
    Return name, guaranteed to be non-null.
    default @NonNull String
    Return roleid, 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 Role> 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
    • getRoleid

      String getRoleid()
      Return roleid, or null if it is not present.
           
               An internal wiring detail in the form 'name'.
           
       
      Returns:
      String roleid, or null if it is not present.
    • requireRoleid

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

      String getName()
      Return name, or null if it is not present.
           
               The name for the role.
           
       
      Returns:
      String name, or null if it is not present.
    • requireName

      default @NonNull String requireName()
      Return name, guaranteed to be non-null.
           
               The name for the role.
           
       
      Returns:
      String name, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if name is not present
    • getDescription

      String getDescription()
      Return description, or null if it is not present.
           
               A description of the role; defaults to the empty string.
           
       
      Returns:
      String description, or null if it is not present.
    • requireDescription

      default @NonNull String requireDescription()
      Return description, guaranteed to be non-null.
           
               A description of the role; defaults to the empty string.
           
       
      Returns:
      String description, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if description is not present
    • getDomainid

      String getDomainid()
      Return domainid, or null if it is not present.
           
               The domain associated with the role.
           
       
      Returns:
      String domainid, or null if it is not present.
    • requireDomainid

      default @NonNull String requireDomainid()
      Return domainid, guaranteed to be non-null.
           
               The domain associated with the role.
           
       
      Returns:
      String domainid, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if domainid is not present