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

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

This class represents the following YANG schema fragment defined in module bmp-message

 grouping string-tlv {
   container string-tlv {
     uses tlv;
     leaf string-info {
       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 stringTlv, or null if it is not present.
    Class<? extends StringTlv>
     
    @NonNull StringTlv
    Return stringTlv, or an empty instance if it is not present.
  • 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 StringTlv> 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
    • getStringTlv

      StringTlv getStringTlv()
      Return stringTlv, or null if it is not present.
           
               Type = 0: String. The Information field contains a free-form UTF-8 string whose
               length is given by the Information Length field. Inclusion of this TLV is
               optional. Multiple String TLVs MAY be included in the message.
           
       
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.string.tlv.StringTlv stringTlv, or null if it is not present.
    • nonnullStringTlv

      @NonNull StringTlv nonnullStringTlv()
      Return stringTlv, or an empty instance if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.string.tlv.StringTlv stringTlv, or an empty instance if it is not present.