Class Create_Return

java.lang.Object
cdm.event.common.functions.Create_Return
All Implemented Interfaces:
com.rosetta.model.lib.functions.RosettaFunction
Direct Known Subclasses:
Create_Return.Create_ReturnDefault

public abstract class Create_Return extends Object implements com.rosetta.model.lib.functions.RosettaFunction
  • Field Details

    • objectValidator

      @Inject protected com.rosetta.model.lib.functions.ModelObjectValidator objectValidator
    • create_QuantityChange

      @Inject protected Create_QuantityChange create_QuantityChange
  • Constructor Details

    • Create_Return

      public Create_Return()
  • Method Details

    • evaluate

      public BusinessEvent evaluate(TradeState tradeState, ReturnInstruction returnInstruction, com.rosetta.model.lib.records.Date returnDate)
      Parameters:
      tradeState - Specifies a previously formed contractual product with a Security Finance payout. It is required that the description of the contractual product be contained within the previous business event, i.e. its lineage must contain the formation of a contractual product.
      returnInstruction - Specifies the information required to fully return the Stock Loan in accordance with the economic terms of the contractual product.
      returnDate - Specifies the date of the full return.
      Returns:
      returnEvent Produces the business event composed of primitive events describing the transfer and termination, as a result of the input return instruction.
    • doEvaluate

      protected abstract BusinessEvent.BusinessEventBuilder doEvaluate(TradeState tradeState, ReturnInstruction returnInstruction, com.rosetta.model.lib.records.Date returnDate)
    • tradableProduct

      protected abstract com.rosetta.model.lib.mapper.MapperS<? extends TradableProduct> tradableProduct(TradeState tradeState, ReturnInstruction returnInstruction, com.rosetta.model.lib.records.Date returnDate)
    • quantitySchedule

      protected abstract com.rosetta.model.lib.mapper.MapperC<? extends NonNegativeQuantitySchedule> quantitySchedule(TradeState tradeState, ReturnInstruction returnInstruction, com.rosetta.model.lib.records.Date returnDate)
    • changePriceQuantity

      protected abstract com.rosetta.model.lib.mapper.MapperS<? extends PriceQuantity> changePriceQuantity(TradeState tradeState, ReturnInstruction returnInstruction, com.rosetta.model.lib.records.Date returnDate)