Package org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.rsvp.rev150820.metric.object
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-objectTo create instances of this class use
MetricObjectBuilder
.- See Also:
MetricObjectBuilder
-
-
Field Summary
Fields Modifier and Type Field Description static @NonNull org.opendaylight.yangtools.yang.common.QName
QNAME
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description @Nullable org.opendaylight.yangtools.yang.common.Uint8
getMetricType()
@Nullable Float32
getValue()
default Class<MetricObject>
implementedInterface()
@Nullable Boolean
isBound()
@Nullable Boolean
isComputed()
-
-
-
Method Detail
-
implementedInterface
default Class<MetricObject> implementedInterface()
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataContainer
- Specified by:
implementedInterface
in interfaceorg.opendaylight.yangtools.yang.binding.DataObject
- Specified by:
implementedInterface
in interfaceRsvpTeObject
-
getMetricType
@Nullable org.opendaylight.yangtools.yang.common.Uint8 getMetricType()
- Returns:
org.opendaylight.yangtools.yang.common.Uint8
metricType
, ornull
if not present
-
isBound
@Nullable Boolean isBound()
- Returns:
java.lang.Boolean
bound
, ornull
if not present
-
isComputed
@Nullable Boolean isComputed()
- Returns:
java.lang.Boolean
computed
, ornull
if not present
-
getValue
@Nullable Float32 getValue()
- Returns:
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ieee754.rev130819.Float32
value
, ornull
if not present
-
-