Interface QuantityChangeInstruction

All Superinterfaces:
com.rosetta.model.lib.RosettaModelObject
All Known Subinterfaces:
QuantityChangeInstruction.QuantityChangeInstructionBuilder
All Known Implementing Classes:
QuantityChangeInstruction.QuantityChangeInstructionBuilderImpl, QuantityChangeInstruction.QuantityChangeInstructionImpl

@RosettaDataType(value="QuantityChangeInstruction", builder=QuantityChangeInstructionBuilderImpl.class, version="5.30.0") @RuneDataType(value="QuantityChangeInstruction", model="cdm", builder=QuantityChangeInstructionBuilderImpl.class, version="5.30.0") public interface QuantityChangeInstruction extends com.rosetta.model.lib.RosettaModelObject
Instructions required to create a Quantity Change Primitive Event, which can be either an increase, a decrease or a replacement. An increase adds a new trade lot to the original trade, whereas a decrease subtracts from an existing trade lot's quantity. A replacement updates the quantity of an existing trade lot to the new value.
Version:
5.30.0
  • Field Details

  • Method Details

    • getChange

      List<? extends PriceQuantity> getChange()
      Quantity by which the trade is being increased, decreased or replaced, and the price at which such quantity change is agreed. The quantity change should always be specified as a positive number, with the direction (increase/decrease/replacement) being specified by the direction enumeration. A fee can also be associated to the quantity change by specifying a Price component of type CashPrice, including the corresponding settlement date and direction.
    • getDirection

      Direction of the quantity change specified as either an increase, decrease or replacement.
    • getLotIdentifier

      List<? extends Identifier> getLotIdentifier()
      Identifier for the new lot (in case of increase) or for the existing lot to be changed(in case of decrease or replacement). This optional attribute is mandatory in case of a decrease or replacement if the initial trade state contains multiple trade lots.
    • build

      Build Methods
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • builder

    • metaData

      default com.rosetta.model.lib.meta.RosettaMetaData<? extends QuantityChangeInstruction> metaData()
      Utility Methods
      Specified by:
      metaData in interface com.rosetta.model.lib.RosettaModelObject
    • getType

      @RuneAttribute("@type") default Class<? extends QuantityChangeInstruction> getType()
      Specified by:
      getType in interface com.rosetta.model.lib.RosettaModelObject
    • process

      default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
      Specified by:
      process in interface com.rosetta.model.lib.RosettaModelObject