Package cdm.event.common.functions
Class Create_RepricePrimitiveInstruction.Create_RepricePrimitiveInstructionDefault
java.lang.Object
cdm.event.common.functions.Create_RepricePrimitiveInstruction
cdm.event.common.functions.Create_RepricePrimitiveInstruction.Create_RepricePrimitiveInstructionDefault
- All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
- Enclosing class:
Create_RepricePrimitiveInstruction
public static class Create_RepricePrimitiveInstruction.Create_RepricePrimitiveInstructionDefault
extends Create_RepricePrimitiveInstruction
-
Nested Class Summary
Nested classes/interfaces inherited from class cdm.event.common.functions.Create_RepricePrimitiveInstruction
Create_RepricePrimitiveInstruction.Create_RepricePrimitiveInstructionDefault -
Field Summary
Fields inherited from class cdm.event.common.functions.Create_RepricePrimitiveInstruction
create_EffectiveOrTerminationDateTermChangeInstruction, create_TerminationInstruction, objectValidator -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassignOutput(PrimitiveInstruction.PrimitiveInstructionBuilder instruction, TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) protected com.rosetta.model.lib.mapper.MapperC<? extends NonNegativeQuantitySchedule> changeCashQuantity(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) protected com.rosetta.model.lib.mapper.MapperS<? extends FieldWithMetaPriceSchedule> currentAssetPrice(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) doEvaluate(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) protected com.rosetta.model.lib.mapper.MapperS<? extends Price> newPrice(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) protected com.rosetta.model.lib.mapper.MapperS<? extends PriceQuantity> newPriceQuantity(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) protected com.rosetta.model.lib.mapper.MapperC<? extends PriceQuantity> oldPriceQuantity(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) Methods inherited from class cdm.event.common.functions.Create_RepricePrimitiveInstruction
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_RepricePrimitiveInstructionDefault
public Create_RepricePrimitiveInstructionDefault()
-
-
Method Details
-
doEvaluate
protected PrimitiveInstruction.PrimitiveInstructionBuilder doEvaluate(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) - Specified by:
doEvaluatein classCreate_RepricePrimitiveInstruction
-
assignOutput
protected PrimitiveInstruction.PrimitiveInstructionBuilder assignOutput(PrimitiveInstruction.PrimitiveInstructionBuilder instruction, TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) -
oldPriceQuantity
protected com.rosetta.model.lib.mapper.MapperC<? extends PriceQuantity> oldPriceQuantity(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) - Specified by:
oldPriceQuantityin classCreate_RepricePrimitiveInstruction
-
currentAssetPrice
protected com.rosetta.model.lib.mapper.MapperS<? extends FieldWithMetaPriceSchedule> currentAssetPrice(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) - Specified by:
currentAssetPricein classCreate_RepricePrimitiveInstruction
-
newPrice
protected com.rosetta.model.lib.mapper.MapperS<? extends Price> newPrice(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) - Specified by:
newPricein classCreate_RepricePrimitiveInstruction
-
changeCashQuantity
protected com.rosetta.model.lib.mapper.MapperC<? extends NonNegativeQuantitySchedule> changeCashQuantity(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) - Specified by:
changeCashQuantityin classCreate_RepricePrimitiveInstruction
-
newPriceQuantity
protected com.rosetta.model.lib.mapper.MapperS<? extends PriceQuantity> newPriceQuantity(TradeState tradeState, BigDecimal newAllinPrice, BigDecimal newCashValue, AdjustableOrRelativeDate effectiveRepriceDate) - Specified by:
newPriceQuantityin classCreate_RepricePrimitiveInstruction
-