Package org.isda.cdm

Class SecurityLeg

  • All Implemented Interfaces:
    com.rosetta.model.lib.GlobalKey

    @RosettaClass
    public class SecurityLeg
    extends com.rosetta.model.lib.RosettaModelObject
    implements com.rosetta.model.lib.GlobalKey
    Terms defining a security leg in a securities financing transaction, which can either be the near leg or the far leg and is closely modelled onto the nearLeg and farLeg types in FpML
    Version:
    2.5.4
    • Method Detail

      • getBuyerSeller

        public final BuyerSeller getBuyerSeller()
        Whether the leg is a buyer or seller of security
      • getDeliveryDate

        @RosettaSynonym(value="deliveryDate",
                        source="FpML_5_10")
        public final AdjustableOrRelativeDate getDeliveryDate()
        Delivery Date for the transaction. Delivery Date can be populated when it is not equal to the Settlement Date.
      • getDeliveryMethod

        @RosettaSynonym(value="deliveryMethod",
                        source="FpML_5_10")
        public final DeliveryMethodEnum getDeliveryMethod()
        Specifies a delivery method for the security transaction.
      • getFxRate

        public final ExchangeRate getFxRate()
        FX rate in case when cash settlement amount is in a different currency to the security.
      • getMeta

        public final MetaFields getMeta()
        Specified by:
        getMeta in interface com.rosetta.model.lib.GlobalKey
      • getSettlementAmount

        @RosettaSynonym(value="settlementAmount",
                        source="FpML_5_10")
        public final Money getSettlementAmount()
        Settlement amount for the security leg
      • getSettlementCurrency

        @RosettaSynonym(value="settlementCurrency",
                        source="FpML_5_10")
        public final java.lang.String getSettlementCurrency()
        Settlement Currency for use where the Settlement Amount cannot be known in advance.
      • getSettlementDate

        @RosettaSynonym(value="settlementDate",
                        source="FpML_5_10")
        public final AdjustableOrRelativeDate getSettlementDate()
        Settlement or Payment Date for the security leg
      • metaData

        public com.rosetta.model.lib.meta.RosettaMetaData<? extends SecurityLeg> metaData()
        Specified by:
        metaData in class com.rosetta.model.lib.RosettaModelObject
      • process

        public void process​(com.rosetta.model.lib.path.RosettaPath path,
                            com.rosetta.model.lib.process.Processor processor)
        Specified by:
        process in class com.rosetta.model.lib.RosettaModelObject
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object