Class TradeLot.TradeLotImpl

java.lang.Object
cdm.product.template.TradeLot.TradeLotImpl
All Implemented Interfaces:
TradeLot, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
TradeLot

public static class TradeLot.TradeLotImpl extends Object implements TradeLot
Immutable Implementation of TradeLot
  • Constructor Details

  • Method Details

    • getLotIdentifier

      @RosettaAttribute("lotIdentifier") @RuneAttribute("lotIdentifier") public List<? extends Identifier> getLotIdentifier()
      Description copied from interface: TradeLot
      Specifies one or more identifiers for the lot, if any.
      Specified by:
      getLotIdentifier in interface TradeLot
    • getPriceQuantity

      @RosettaAttribute(value="priceQuantity", isRequired=true) @RuneAttribute(value="priceQuantity", isRequired=true) public List<? extends PriceQuantity> getPriceQuantity()
      Description copied from interface: TradeLot
      Specifies the settlement characteristics of a trade lot: price, quantity, observable (optionally) and the settlement terms. This attribute has a multiple cardinality to allow to specify the price, quantity and observable of different legs in a single, composite product (e.g. a Swap).
      Specified by:
      getPriceQuantity in interface TradeLot
    • build

      public TradeLot build()
      Description copied from interface: TradeLot
      Build Methods
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
      Specified by:
      build in interface TradeLot
    • toBuilder

      public TradeLot.TradeLotBuilder toBuilder()
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
      Specified by:
      toBuilder in interface TradeLot
    • setBuilderFields

      protected void setBuilderFields(TradeLot.TradeLotBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object