class MeasureAttribute: Attribute

Attribute with a name containing a certain double value with a UnitOfMeasure.

Fields

Name Description
val value: Double
val uom: UnitOfMeasure

unit of measure of the value

Constructors

<init>

constructor(name: String, value: Double, uom: UnitOfMeasure)

Attribute with a name containing a certain double value with a UnitOfMeasure.

Parameters

Name Description
name: String
value: Double
uom: UnitOfMeasure

unit of measure of the value

CompanionObject

MeasureAttribute

class MeasureAttribute: Attribute

Attribute with a name containing a certain double value with a UnitOfMeasure.

Methods

of

fun of(name: String, value: Double, uom: UnitOfMeasure): Option<MeasureAttribute>

Parameters

Name Description
name: String
value: Double
uom: UnitOfMeasure

ReturnValue

Name Description
Option<MeasureAttribute>