Package cdm.observable.asset
Interface PriceSchedule.PriceScheduleBuilder
- All Superinterfaces:
MeasureBase,MeasureBase.MeasureBaseBuilder,MeasureSchedule,MeasureSchedule.MeasureScheduleBuilder,PriceSchedule,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Subinterfaces:
Price.PriceBuilder
- All Known Implementing Classes:
Price.PriceBuilderImpl,PriceSchedule.PriceScheduleBuilderImpl
- Enclosing interface:
PriceSchedule
public static interface PriceSchedule.PriceScheduleBuilder
extends PriceSchedule, MeasureSchedule.MeasureScheduleBuilder
Builder Interface
-
Nested Class Summary
Nested 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.MeasureScheduleImplNested classes/interfaces inherited from interface cdm.observable.asset.PriceSchedule
PriceSchedule.PriceScheduleBuilder, PriceSchedule.PriceScheduleBuilderImpl, PriceSchedule.PriceScheduleImpl -
Field Summary
Fields inherited from interface cdm.base.math.MeasureBase
metaDataFields inherited from interface cdm.base.math.MeasureSchedule
metaDataFields inherited from interface cdm.observable.asset.PriceSchedule
metaData -
Method Summary
Modifier and TypeMethodDescriptionaddDatedValue(DatedValue datedValue) addDatedValue(DatedValue datedValue, int idx) addDatedValue(List<? extends DatedValue> datedValue) (Optionally when the price type is cash) Additional attributes that further define a cash price, e.g. what type of fee it is.(Optionally) Specifies the underlying price components if the price can be expressed as a composite: e.g. dirty price = clean price + accrued.Provides an attribute to define the unit of the thing being priced.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setArithmeticOperator(ArithmeticOperationEnum arithmeticOperator) setCashPrice(CashPrice cashPrice) setComposite(PriceComposite composite) setDatedValue(List<? extends DatedValue> datedValue) setPerUnitOf(UnitType perUnitOf) setPriceExpression(PriceExpressionEnum priceExpression) setPriceType(PriceTypeEnum priceType) setValue(BigDecimal value) Methods inherited from interface cdm.base.math.MeasureBase
getValueMethods inherited from interface cdm.base.math.MeasureBase.MeasureBaseBuilder
getOrCreateUnit, getUnitMethods inherited from interface cdm.base.math.MeasureSchedule.MeasureScheduleBuilder
getDatedValue, getOrCreateDatedValueMethods inherited from interface cdm.observable.asset.PriceSchedule
build, getArithmeticOperator, getPriceExpression, getPriceType, getType, metaData, process, toBuilderMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreatePerUnitOf
UnitType.UnitTypeBuilder getOrCreatePerUnitOf() -
getPerUnitOf
UnitType.UnitTypeBuilder getPerUnitOf()Description copied from interface:PriceScheduleProvides an attribute to define the unit of the thing being priced. For example, {amount, unitOfAmount, PerUnitOfAmount} = [10, EUR, Shares] = (10.00 EUR/SHARE) * (300,000 SHARES) = EUR 3,000,000.00 (Shares cancel out in the calculation).- Specified by:
getPerUnitOfin interfacePriceSchedule
-
getOrCreateComposite
PriceComposite.PriceCompositeBuilder getOrCreateComposite() -
getComposite
PriceComposite.PriceCompositeBuilder getComposite()Description copied from interface:PriceSchedule(Optionally) Specifies the underlying price components if the price can be expressed as a composite: e.g. dirty price = clean price + accrued.- Specified by:
getCompositein interfacePriceSchedule
-
getOrCreateCashPrice
CashPrice.CashPriceBuilder getOrCreateCashPrice() -
getCashPrice
CashPrice.CashPriceBuilder getCashPrice()Description copied from interface:PriceSchedule(Optionally when the price type is cash) Additional attributes that further define a cash price, e.g. what type of fee it is.- Specified by:
getCashPricein interfacePriceSchedule
-
setValue
- Specified by:
setValuein interfaceMeasureBase.MeasureBaseBuilder- Specified by:
setValuein interfaceMeasureSchedule.MeasureScheduleBuilder
-
setUnit
- Specified by:
setUnitin interfaceMeasureBase.MeasureBaseBuilder- Specified by:
setUnitin interfaceMeasureSchedule.MeasureScheduleBuilder
-
addDatedValue
- Specified by:
addDatedValuein interfaceMeasureSchedule.MeasureScheduleBuilder
-
addDatedValue
- Specified by:
addDatedValuein interfaceMeasureSchedule.MeasureScheduleBuilder
-
addDatedValue
- Specified by:
addDatedValuein interfaceMeasureSchedule.MeasureScheduleBuilder
-
setDatedValue
- Specified by:
setDatedValuein interfaceMeasureSchedule.MeasureScheduleBuilder
-
setPerUnitOf
-
setPriceType
-
setPriceExpression
-
setComposite
-
setArithmeticOperator
PriceSchedule.PriceScheduleBuilder setArithmeticOperator(ArithmeticOperationEnum arithmeticOperator) -
setCashPrice
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfaceMeasureBase.MeasureBaseBuilder- Specified by:
processin interfaceMeasureSchedule.MeasureScheduleBuilder- Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
- Specified by:
prunein interfaceMeasureBase.MeasureBaseBuilder- Specified by:
prunein interfaceMeasureSchedule.MeasureScheduleBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-