Package cdm.event.common.functions
Class Create_AdjustmentPrimitiveInstruction.Create_AdjustmentPrimitiveInstructionDefault
java.lang.Object
cdm.event.common.functions.Create_AdjustmentPrimitiveInstruction
cdm.event.common.functions.Create_AdjustmentPrimitiveInstruction.Create_AdjustmentPrimitiveInstructionDefault
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Enclosing class:
Create_AdjustmentPrimitiveInstruction
public static class Create_AdjustmentPrimitiveInstruction.Create_AdjustmentPrimitiveInstructionDefault
extends Create_AdjustmentPrimitiveInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from class cdm.event.common.functions.Create_AdjustmentPrimitiveInstruction
Create_AdjustmentPrimitiveInstruction.Create_AdjustmentPrimitiveInstructionDefault -
Field Summary
Fields inherited from class cdm.event.common.functions.Create_AdjustmentPrimitiveInstruction
conditionValidator, create_EffectiveOrTerminationDateTermChangeInstruction, create_TerminationInstruction, objectValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignOutput(PrimitiveInstruction.PrimitiveInstructionBuilder instruction, TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) protected com.rosetta.model.lib.mapper.MapperC<? extends NonNegativeQuantitySchedule> changeQuantity(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) protected com.rosetta.model.lib.mapper.MapperS<? extends FieldWithMetaPriceSchedule> currentAssetPrice(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) doEvaluate(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) protected com.rosetta.model.lib.mapper.MapperS<? extends Price> newPrice(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) protected com.rosetta.model.lib.mapper.MapperS<? extends PriceQuantity> newPriceQuantity(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) protected com.rosetta.model.lib.mapper.MapperC<? extends PriceQuantity> oldPriceQuantity(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) Methods inherited from class cdm.event.common.functions.Create_AdjustmentPrimitiveInstruction
evaluateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.functions.RosettaFunction
toBuilder, toBuilder, toBuilder
-
Constructor Details
-
Create_AdjustmentPrimitiveInstructionDefault
public Create_AdjustmentPrimitiveInstructionDefault()
-
-
Method Details
-
doEvaluate
protected PrimitiveInstruction.PrimitiveInstructionBuilder doEvaluate(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) - Specified by:
doEvaluatein classCreate_AdjustmentPrimitiveInstruction
-
assignOutput
protected PrimitiveInstruction.PrimitiveInstructionBuilder assignOutput(PrimitiveInstruction.PrimitiveInstructionBuilder instruction, TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) -
oldPriceQuantity
protected com.rosetta.model.lib.mapper.MapperC<? extends PriceQuantity> oldPriceQuantity(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) - Specified by:
oldPriceQuantityin classCreate_AdjustmentPrimitiveInstruction
-
currentAssetPrice
protected com.rosetta.model.lib.mapper.MapperS<? extends FieldWithMetaPriceSchedule> currentAssetPrice(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) - Specified by:
currentAssetPricein classCreate_AdjustmentPrimitiveInstruction
-
newPrice
protected com.rosetta.model.lib.mapper.MapperS<? extends Price> newPrice(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) - Specified by:
newPricein classCreate_AdjustmentPrimitiveInstruction
-
changeQuantity
protected com.rosetta.model.lib.mapper.MapperC<? extends NonNegativeQuantitySchedule> changeQuantity(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) - Specified by:
changeQuantityin classCreate_AdjustmentPrimitiveInstruction
-
newPriceQuantity
protected com.rosetta.model.lib.mapper.MapperS<? extends PriceQuantity> newPriceQuantity(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newAssetQuantity, AdjustableOrRelativeDate effectiveRepriceDate) - Specified by:
newPriceQuantityin classCreate_AdjustmentPrimitiveInstruction
-