Package cdm.base.math
Interface QuantitySchedule
- All Superinterfaces:
MeasureBase,MeasureSchedule,com.rosetta.model.lib.RosettaModelObject
- All Known Subinterfaces:
Money,Money.MoneyBuilder,NonNegativeQuantity,NonNegativeQuantity.NonNegativeQuantityBuilder,NonNegativeQuantitySchedule,NonNegativeQuantitySchedule.NonNegativeQuantityScheduleBuilder,Quantity,Quantity.QuantityBuilder,QuantitySchedule.QuantityScheduleBuilder
- All Known Implementing Classes:
Money.MoneyBuilderImpl,Money.MoneyImpl,NonNegativeQuantity.NonNegativeQuantityBuilderImpl,NonNegativeQuantity.NonNegativeQuantityImpl,NonNegativeQuantitySchedule.NonNegativeQuantityScheduleBuilderImpl,NonNegativeQuantitySchedule.NonNegativeQuantityScheduleImpl,Quantity.QuantityBuilderImpl,Quantity.QuantityImpl,QuantitySchedule.QuantityScheduleBuilderImpl,QuantitySchedule.QuantityScheduleImpl
@RosettaDataType(value="QuantitySchedule",
builder=QuantityScheduleBuilderImpl.class,
version="5.30.0")
@RuneDataType(value="QuantitySchedule",
model="cdm",
builder=QuantityScheduleBuilderImpl.class,
version="5.30.0")
public interface QuantitySchedule
extends MeasureSchedule
Specifies a quantity schedule to be associated to a financial product to represent a trade amount. This data type extends MeasureSchedule with several unit or multiplier attributes that are used to define financial quantities. This data type is generically based on a schedule and can also be used to represent a quantity as a single value.
- Version:
- 5.30.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceBuilder Interfacestatic classBuilder Implementation of QuantitySchedulestatic classImmutable Implementation of QuantityScheduleNested classes/interfaces inherited from interface cdm.base.math.MeasureBase
MeasureBase.MeasureBaseBuilder, MeasureBase.MeasureBaseBuilderImpl, MeasureBase.MeasureBaseImplNested classes/interfaces inherited from interface cdm.base.math.MeasureSchedule
MeasureSchedule.MeasureScheduleBuilder, MeasureSchedule.MeasureScheduleBuilderImpl, MeasureSchedule.MeasureScheduleImpl -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbuilder()Defines the frequency to be used when defining a quantity.Defines an optional number that the quantity should be multiplied by to derive a total quantity.default Class<? extends QuantitySchedule> getType()default com.rosetta.model.lib.meta.RosettaMetaData<? extends QuantitySchedule> metaData()Utility Methodsdefault voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) Methods inherited from interface cdm.base.math.MeasureBase
getUnit, getValueMethods inherited from interface cdm.base.math.MeasureSchedule
getDatedValueMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Field Details
-
metaData
-
-
Method Details
-
getMultiplier
Measure getMultiplier()Defines an optional number that the quantity should be multiplied by to derive a total quantity. This number is associated to a unit. For example in the case of the Coal (API2) CIF ARA (ARGUS-McCloskey) Futures Contract on the CME, where the unit would be contracts, the multiplier value would 1,000 and the mulitiplier unit would be 1,000 MT (Metric Tons). -
getFrequency
Frequency getFrequency()Defines the frequency to be used when defining a quantity. For example a quantity may be specified as a number of barrels of oil per day, which needs multiplying by the number of days in the relevant period to get the total quantity as a number of barrels. -
build
QuantitySchedule build()Build Methods- Specified by:
buildin interfaceMeasureBase- Specified by:
buildin interfaceMeasureSchedule- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
QuantitySchedule.QuantityScheduleBuilder toBuilder()- Specified by:
toBuilderin interfaceMeasureBase- Specified by:
toBuilderin interfaceMeasureSchedule- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
builder
-
metaData
Utility Methods- Specified by:
metaDatain interfaceMeasureBase- Specified by:
metaDatain interfaceMeasureSchedule- Specified by:
metaDatain interfacecom.rosetta.model.lib.RosettaModelObject
-
getType
- Specified by:
getTypein interfaceMeasureBase- Specified by:
getTypein interfaceMeasureSchedule- Specified by:
getTypein interfacecom.rosetta.model.lib.RosettaModelObject
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor) - Specified by:
processin interfaceMeasureBase- Specified by:
processin interfaceMeasureSchedule- Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObject
-