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

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

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

 grouping domain {
   leaf domainid {
     type string;
   }
   leaf name {
     type string;
   }
   leaf description {
     type string;
     default "";
   }
 }
 
  • 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.
    Class<? extends Domain>
     
    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.
  • 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 Domain> 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
    • getDomainid

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

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

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

      default @NonNull String requireName()
      Return name, guaranteed to be non-null.
           
               The name of the domain.
           
       
      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 for the domain; 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 for the domain; defaults to the empty string.
           
       
      Returns:
      String description, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if description is not present