Package org.isda.cdm
Class PrincipalExchange
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObject
-
- org.isda.cdm.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
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
PrincipalExchange.PrincipalExchangeBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PrincipalExchange.PrincipalExchangeBuilder
builder()
boolean
equals(java.lang.Object o)
com.rosetta.model.lib.records.Date
getAdjustedPrincipalExchangeDate()
The adjusted principal exchange date.java.math.BigDecimal
getDiscountFactor()
The value representing the discount factor used to calculate the present value of the principal exchange amount.MetaFields
getMeta()
Money
getPresentValuePrincipalExchangeAmount()
The amount representing the present value of the principal exchange.java.math.BigDecimal
getPrincipalExchangeAmount()
The principal exchange amount.com.rosetta.model.lib.records.Date
getUnadjustedPrincipalExchangeDate()
The non adjusted principal exchange date.int
hashCode()
com.rosetta.model.lib.meta.RosettaMetaData<? extends PrincipalExchange>
metaData()
void
process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
PrincipalExchange.PrincipalExchangeBuilder
toBuilder()
java.lang.String
toString()
-
-
-
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 interfacecom.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 classcom.rosetta.model.lib.RosettaModelObject
-
toBuilder
public PrincipalExchange.PrincipalExchangeBuilder toBuilder()
- Specified by:
toBuilder
in classcom.rosetta.model.lib.RosettaModelObject
-
builder
public static PrincipalExchange.PrincipalExchangeBuilder builder()
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.Processor processor)
- Specified by:
process
in classcom.rosetta.model.lib.RosettaModelObject
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-