Class SecurityLeg.SecurityLegImpl

java.lang.Object
cdm.product.template.SecurityLeg.SecurityLegImpl
All Implemented Interfaces:
SecurityLeg, com.rosetta.model.lib.GlobalKey, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
SecurityLeg

public static class SecurityLeg.SecurityLegImpl extends Object implements SecurityLeg
Immutable Implementation of SecurityLeg
  • Constructor Details

  • Method Details

    • getBuyerSeller

      @RosettaAttribute(value="buyerSeller", isRequired=true) @RuneAttribute(value="buyerSeller", isRequired=true) public BuyerSeller getBuyerSeller()
      Description copied from interface: SecurityLeg
      Whether the leg is a buyer or seller of security
      Specified by:
      getBuyerSeller in interface SecurityLeg
    • getSettlementDate

      @RosettaAttribute(value="settlementDate", isRequired=true) @RuneAttribute(value="settlementDate", isRequired=true) public AdjustableOrRelativeDate getSettlementDate()
      Description copied from interface: SecurityLeg
      Settlement or Payment Date for the security leg
      Specified by:
      getSettlementDate in interface SecurityLeg
    • getSettlementAmount

      @RosettaAttribute("settlementAmount") @RuneAttribute("settlementAmount") public Money getSettlementAmount()
      Description copied from interface: SecurityLeg
      Settlement amount for the security leg
      Specified by:
      getSettlementAmount in interface SecurityLeg
    • getSettlementCurrency

      @RosettaAttribute("settlementCurrency") @RuneAttribute("settlementCurrency") public String getSettlementCurrency()
      Description copied from interface: SecurityLeg
      Settlement Currency for use where the Settlement Amount cannot be known in advance.
      Specified by:
      getSettlementCurrency in interface SecurityLeg
    • getFxRate

      @RosettaAttribute("fxRate") @RuneAttribute("fxRate") public ExchangeRate getFxRate()
      Description copied from interface: SecurityLeg
      FX rate in case when cash settlement amount is in a different currency to the security.
      Specified by:
      getFxRate in interface SecurityLeg
    • getDeliveryDate

      @RosettaAttribute("deliveryDate") @RuneAttribute("deliveryDate") public AdjustableOrRelativeDate getDeliveryDate()
      Description copied from interface: SecurityLeg
      Delivery Date for the transaction. Delivery Date can be populated when it is not equal to the Settlement Date.
      Specified by:
      getDeliveryDate in interface SecurityLeg
    • getDeliveryMethod

      @RosettaAttribute(value="deliveryMethod", isRequired=true) @RuneAttribute(value="deliveryMethod", isRequired=true) public DeliveryMethodEnum getDeliveryMethod()
      Description copied from interface: SecurityLeg
      Specifies a delivery method for the security transaction.
      Specified by:
      getDeliveryMethod in interface SecurityLeg
    • getMeta

      @RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
      Specified by:
      getMeta in interface SecurityLeg
    • build

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

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

      protected void setBuilderFields(SecurityLeg.SecurityLegBuilder 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