All Superinterfaces:
org.opendaylight.yangtools.binding.BindingContract<org.opendaylight.yangtools.binding.DataContainer>, org.opendaylight.yangtools.binding.BindingObject, org.opendaylight.yangtools.binding.DataContainer, org.opendaylight.yangtools.binding.Grouping
All Known Subinterfaces:
UserError

@Generated("mdsal-binding-generator") public interface UserErrorSpec extends org.opendaylight.yangtools.binding.Grouping

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

 grouping user-error-spec {
   leaf enterprise {
     type iana:enterprise-number;
   }
   leaf sub-org {
     type uint8;
     default 0;
   }
   leaf value {
     type uint16;
   }
   leaf description {
     type string;
     default "";
   }
   container subobjects;
 }
 
  • Method Summary

    Modifier and Type
    Method
    Description
    Return description, or null if it is not present.
    Return enterprise, or null if it is not present.
    Return subobjects, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint8
    Return subOrg, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint16
    Return value, or null if it is not present.
    @NonNull Subobjects
    Return subobjects, or an empty instance if it is not present.
    default @NonNull String
    Return description, guaranteed to be non-null.
    default @NonNull EnterpriseNumber
    Return enterprise, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint8
    Return subOrg, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Return value, guaranteed to be non-null.

    Methods inherited from interface org.opendaylight.yangtools.binding.BindingContract

    implementedInterface
  • Method Details

    • getEnterprise

      EnterpriseNumber getEnterprise()
      Return enterprise, or null if it is not present.
      Returns:
      EnterpriseNumber enterprise, or null if it is not present.
    • requireEnterprise

      default @NonNull EnterpriseNumber requireEnterprise()
      Return enterprise, guaranteed to be non-null.
      Returns:
      EnterpriseNumber enterprise, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if enterprise is not present
    • getSubOrg

      org.opendaylight.yangtools.yang.common.Uint8 getSubOrg()
      Return subOrg, or null if it is not present.
      Returns:
      Uint8 subOrg, or null if it is not present.
    • requireSubOrg

      default @NonNull org.opendaylight.yangtools.yang.common.Uint8 requireSubOrg()
      Return subOrg, guaranteed to be non-null.
      Returns:
      Uint8 subOrg, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if subOrg is not present
    • getValue

      org.opendaylight.yangtools.yang.common.Uint16 getValue()
      Return value, or null if it is not present.
      Returns:
      Uint16 value, or null if it is not present.
    • requireValue

      default @NonNull org.opendaylight.yangtools.yang.common.Uint16 requireValue()
      Return value, guaranteed to be non-null.
      Returns:
      Uint16 value, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if value is not present
    • getDescription

      String getDescription()
      Return description, or null if it is not present.
      Returns:
      String description, or null if it is not present.
    • requireDescription

      default @NonNull String requireDescription()
      Return description, guaranteed to be non-null.
      Returns:
      String description, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if description is not present
    • getSubobjects

      Subobjects getSubobjects()
      Return subobjects, or null if it is not present.
      Returns:
      Subobjects subobjects, or null if it is not present.
    • nonnullSubobjects

      @NonNull Subobjects nonnullSubobjects()
      Return subobjects, or an empty instance if it is not present.
      Returns:
      Subobjects subobjects, or an empty instance if it is not present.