Interface MetricObject

  • All Superinterfaces:
    org.opendaylight.yangtools.yang.binding.Augmentable<MetricObject>, org.opendaylight.yangtools.yang.binding.BindingObject, org.opendaylight.yangtools.yang.binding.ChildOf<MetricObject>, org.opendaylight.yangtools.yang.binding.DataContainer, org.opendaylight.yangtools.yang.binding.DataObject, RsvpTeObject

    public interface MetricObject
    extends org.opendaylight.yangtools.yang.binding.ChildOf<MetricObject>, org.opendaylight.yangtools.yang.binding.Augmentable<MetricObject>, RsvpTeObject

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

     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;
       }
     }
     
    The schema path to identify an instance is rsvp/metric-object/metric-object

    To create instances of this class use MetricObjectBuilder.

    See Also:
    MetricObjectBuilder
    • Field Detail

      • QNAME

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

      • implementedInterface

        default Class<MetricObject> 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 RsvpTeObject
      • getMetricType

        @Nullable org.opendaylight.yangtools.yang.common.Uint8 getMetricType()
        Returns:
        org.opendaylight.yangtools.yang.common.Uint8 metricType, or null if not present
      • isBound

        @Nullable Boolean isBound()
        Returns:
        java.lang.Boolean bound, or null if not present
      • isComputed

        @Nullable Boolean isComputed()
        Returns:
        java.lang.Boolean computed, or null if not present
      • getValue

        @Nullable Float32 getValue()
        Returns:
        org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ieee754.rev130819.Float32 value, or null if not present