Interface YangModel

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, YangModelNameVersion
    All Known Subinterfaces:
    GnmiYangModel, UploadYangModelInput

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

    This class represents the following YANG schema fragment defined in module gnmi-yang-storage

     grouping yang-model {
       uses yang-model-name-version;
       leaf body {
         type string;
       }
     }
     
    The schema path to identify an instance is gnmi-yang-storage/yang-model
    • Field Detail

      • QNAME

        static final @NonNull org.opendaylight.yangtools.yang.common.QName QNAME
    • Method Detail

      • implementedInterface

        Class<? extends YangModel> implementedInterface()
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainer
        Specified by:
        implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObject
        Specified by:
        implementedInterface in interface YangModelNameVersion
      • getBody

        String getBody()
        Return body, or null if it is not present.
             
                 Body of the yang model
             
         
        Returns:
        java.lang.String body, or null if it is not present.