Package cdm.base.math
Class MeasureBase.MeasureBaseImpl
java.lang.Object
cdm.base.math.MeasureBase.MeasureBaseImpl
- All Implemented Interfaces:
MeasureBase,com.rosetta.model.lib.RosettaModelObject
- Direct Known Subclasses:
Measure.MeasureImpl,MeasureSchedule.MeasureScheduleImpl
- Enclosing interface:
MeasureBase
Immutable Implementation of MeasureBase
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.base.math.MeasureBase
MeasureBase.MeasureBaseBuilder, MeasureBase.MeasureBaseBuilderImpl, MeasureBase.MeasureBaseImpl -
Field Summary
Fields inherited from interface cdm.base.math.MeasureBase
metaData -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.base.math.MeasureBase
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
MeasureBaseImpl
-
-
Method Details
-
getValue
Description copied from interface:MeasureBaseSpecifies the value of the measure as a number. Optional because in a measure vector or schedule, this single value may be omitted.- Specified by:
getValuein interfaceMeasureBase
-
getUnit
Description copied from interface:MeasureBaseQualifies the unit by which the amount is measured. Optional because a measure may be unit-less (e.g. when representing a ratio between amounts in the same unit).- Specified by:
getUnitin interfaceMeasureBase
-
build
Description copied from interface:MeasureBaseBuild Methods- Specified by:
buildin interfaceMeasureBase- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceMeasureBase- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-