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

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

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

 grouping metric-object {
   container metric-object {
     uses rsvp-te-object;
     leaf metric-type {
       type uint8;
     }
     leaf bound {
       type boolean;
       default false;
     }
     leaf computed {
       type boolean;
       default false;
     }
     leaf value {
       type ieee754:float32;
     }
   }
 }
 
  • 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 metricObject, or null if it is not present.
    Class<? extends MetricObject>
     
    @NonNull MetricObject
    Return metricObject, 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 MetricObject> 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
    • getMetricObject

      MetricObject getMetricObject()
      Return metricObject, or null if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.metric.object.MetricObject metricObject, or null if it is not present.
    • nonnullMetricObject

      @NonNull MetricObject nonnullMetricObject()
      Return metricObject, or an empty instance if it is not present.
      Returns:
      org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.metric.object.MetricObject metricObject, or an empty instance if it is not present.