Package org.isda.cdm

Class PrincipalExchange

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

    @RosettaClass
    @RosettaSynonym(value="PrincipalExchange",source="FpML_5_10") @RosettaSynonym(value="PrincipalExchange",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="PrincipalExchange",source="DTCC_11_0") @RosettaSynonym(value="PrincipalExchange",source="DTCC_9_0") @RosettaSynonym(value="PrincipalExchange",source="CME_ClearedConfirm_1_17")
    public class PrincipalExchange
    extends com.rosetta.model.lib.RosettaModelObject
    implements com.rosetta.model.lib.GlobalKey
    A class for defining a principal exchange amount and adjusted exchange date. This class forms part of the cashflow representation of a swap stream.
    Version:
    2.5.4
    • Method Detail

      • getAdjustedPrincipalExchangeDate

        @RosettaSynonym(value="adjustedPrincipalExchangeDate",source="FpML_5_10") @RosettaSynonym(value="adjustedPrincipalExchangeDate",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="adjustedPrincipalExchangeDate",source="DTCC_11_0") @RosettaSynonym(value="adjustedPrincipalExchangeDate",source="DTCC_9_0") @RosettaSynonym(value="adjustedPrincipalExchangeDate",source="CME_ClearedConfirm_1_17")
        public final com.rosetta.model.lib.records.Date getAdjustedPrincipalExchangeDate()
        The adjusted principal exchange date. This date should already be adjusted for any applicable business day convention.
      • getDiscountFactor

        @RosettaSynonym(value="discountFactor",source="FpML_5_10") @RosettaSynonym(value="discountFactor",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="discountFactor",source="DTCC_11_0") @RosettaSynonym(value="discountFactor",source="DTCC_9_0") @RosettaSynonym(value="discountFactor",source="CME_ClearedConfirm_1_17")
        public final java.math.BigDecimal getDiscountFactor()
        The value representing the discount factor used to calculate the present value of the principal exchange amount.
      • getMeta

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

        @RosettaSynonym(value="presentValuePrincipalExchangeAmount",source="FpML_5_10") @RosettaSynonym(value="presentValuePrincipalExchangeAmount",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="presentValuePrincipalExchangeAmount",source="DTCC_11_0") @RosettaSynonym(value="presentValuePrincipalExchangeAmount",source="DTCC_9_0") @RosettaSynonym(value="presentValuePrincipalExchangeAmount",source="CME_ClearedConfirm_1_17")
        public final Money getPresentValuePrincipalExchangeAmount()
        The amount representing the present value of the principal exchange.
      • getPrincipalExchangeAmount

        @RosettaSynonym(value="principalExchangeAmount",source="FpML_5_10") @RosettaSynonym(value="principalExchangeAmount",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="principalExchangeAmount",source="DTCC_11_0") @RosettaSynonym(value="principalExchangeAmount",source="DTCC_9_0") @RosettaSynonym(value="principalExchangeAmount",source="CME_ClearedConfirm_1_17")
        public final java.math.BigDecimal getPrincipalExchangeAmount()
        The principal exchange amount. This amount should be positive if the stream payer is paying the exchange amount and signed negative if they are receiving it.
      • getUnadjustedPrincipalExchangeDate

        @RosettaSynonym(value="unadjustedPrincipalExchangeDate",source="FpML_5_10") @RosettaSynonym(value="unadjustedPrincipalExchangeDate",source="CME_SubmissionIRS_1_0") @RosettaSynonym(value="unadjustedPrincipalExchangeDate",source="DTCC_11_0") @RosettaSynonym(value="unadjustedPrincipalExchangeDate",source="DTCC_9_0") @RosettaSynonym(value="unadjustedPrincipalExchangeDate",source="CME_ClearedConfirm_1_17")
        public final com.rosetta.model.lib.records.Date getUnadjustedPrincipalExchangeDate()
        The non adjusted principal exchange date.
      • metaData

        public com.rosetta.model.lib.meta.RosettaMetaData<? extends PrincipalExchange> 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