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:
LdpMpOpaqueValue, MldpMp2mpLsp, OpaqueValue

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

This class represents the following YANG schema fragment defined in module pmsi-tunnel

 grouping opaque {
   leaf opaque-type {
     type uint8;
   }
   leaf opaque-extended-type {
     type uint16;
   }
   leaf opaque {
     type yang:hex-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
    org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.HexString
    Return opaque, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint16
    Return opaqueExtendedType, or null if it is not present.
    org.opendaylight.yangtools.yang.common.Uint8
    Return opaqueType, or null if it is not present.
    Class<? extends Opaque>
     
    default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.HexString
    Return opaque, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint16
    Return opaqueExtendedType, guaranteed to be non-null.
    default @NonNull org.opendaylight.yangtools.yang.common.Uint8
    Return opaqueType, 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 Opaque> 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
    • getOpaqueType

      org.opendaylight.yangtools.yang.common.Uint8 getOpaqueType()
      Return opaqueType, or null if it is not present.
      Returns:
      Uint8 opaqueType, or null if it is not present.
    • requireOpaqueType

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

      org.opendaylight.yangtools.yang.common.Uint16 getOpaqueExtendedType()
      Return opaqueExtendedType, or null if it is not present.
      Returns:
      Uint16 opaqueExtendedType, or null if it is not present.
    • requireOpaqueExtendedType

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

      org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.HexString getOpaque()
      Return opaque, or null if it is not present.
      Returns:
      HexString opaque, or null if it is not present.
    • requireOpaque

      default @NonNull org.opendaylight.yang.gen.v1.urn.ietf.params.xml.ns.yang.ietf.yang.types.rev130715.HexString requireOpaque()
      Return opaque, guaranteed to be non-null.
      Returns:
      HexString opaque, guaranteed to be non-null.
      Throws:
      NoSuchElementException - if opaque is not present