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:
InitiationTlvs, Tlvs

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

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

 grouping name-tlv {
   container name-tlv {
     uses tlv;
     leaf name {
       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 nameTlv, or null if it is not present.
    Class<? extends NameTlv>
     
    @NonNull NameTlv
    Return nameTlv, 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 NameTlv> 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
    • getNameTlv

      NameTlv getNameTlv()
      Return nameTlv, or null if it is not present.
           
               Type = 2: sysName. The Information field contains a ASCII string whose value
               MUST be set to be equal to the value of the sysName MIB-II [RFC1213] object.
               Inclusion of this TLV is mandatory.
           
       
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.name.tlv.NameTlv nameTlv, or null if it is not present.
    • nonnullNameTlv

      @NonNull NameTlv nonnullNameTlv()
      Return nameTlv, or an empty instance if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.bmp.message.rev200120.name.tlv.NameTlv nameTlv, or an empty instance if it is not present.