public interface Metric extends org.opendaylight.yangtools.yang.binding.ChildOf<MetricObject>, org.opendaylight.yangtools.yang.binding.Augmentable<Metric>, Object
This class represents the following YANG schema fragment defined in module pcep-types
container metric {
uses 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
pcep-types/metric-object/metric
To create instances of this class use MetricBuilder.
MetricBuilder| Modifier and Type | Field and Description |
|---|---|
static @NonNull org.opendaylight.yangtools.yang.common.QName |
QNAME |
| Modifier and Type | Method and Description |
|---|---|
@Nullable Short |
getMetricType() |
@Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ieee754.rev130819.Float32 |
getValue() |
default Class<Metric> |
implementedInterface() |
@Nullable Boolean |
isBound() |
@Nullable Boolean |
isComputed() |
isIgnore, isProcessingRuledefault Class<Metric> implementedInterface()
implementedInterface in interface org.opendaylight.yangtools.yang.binding.DataContainerimplementedInterface in interface org.opendaylight.yangtools.yang.binding.DataObjectimplementedInterface in interface ObjectimplementedInterface in interface ObjectHeader@Nullable Short getMetricType()
java.lang.Short metricType, or null if not present@Nullable Boolean isBound()
java.lang.Boolean bound, or null if not present@Nullable Boolean isComputed()
java.lang.Boolean computed, or null if not present@Nullable org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ieee754.rev130819.Float32 getValue()
org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ieee754.rev130819.Float32 value, or null if not presentCopyright © 2020 OpenDaylight. All rights reserved.