Package org.isda.cdm
Class PrincipalExchange.PrincipalExchangeBuilder
- java.lang.Object
-
- com.rosetta.model.lib.RosettaModelObjectBuilder
-
- org.isda.cdm.PrincipalExchange.PrincipalExchangeBuilder
-
- All Implemented Interfaces:
com.rosetta.model.lib.GlobalKey
,com.rosetta.model.lib.GlobalKeyBuilder<PrincipalExchange.PrincipalExchangeBuilder>
- Enclosing class:
- PrincipalExchange
public static class PrincipalExchange.PrincipalExchangeBuilder extends com.rosetta.model.lib.RosettaModelObjectBuilder implements com.rosetta.model.lib.GlobalKeyBuilder<PrincipalExchange.PrincipalExchangeBuilder>
-
-
Field Summary
Fields Modifier and Type Field Description protected com.rosetta.model.lib.records.Date
adjustedPrincipalExchangeDate
protected java.math.BigDecimal
discountFactor
protected MetaFields.MetaFieldsBuilder
meta
protected Money.MoneyBuilder
presentValuePrincipalExchangeAmount
protected java.math.BigDecimal
principalExchangeAmount
protected com.rosetta.model.lib.records.Date
unadjustedPrincipalExchangeDate
-
Constructor Summary
Constructors Constructor Description PrincipalExchangeBuilder()
-
Method Summary
-
-
-
Field Detail
-
adjustedPrincipalExchangeDate
protected com.rosetta.model.lib.records.Date adjustedPrincipalExchangeDate
-
discountFactor
protected java.math.BigDecimal discountFactor
-
meta
protected MetaFields.MetaFieldsBuilder meta
-
presentValuePrincipalExchangeAmount
protected Money.MoneyBuilder presentValuePrincipalExchangeAmount
-
principalExchangeAmount
protected java.math.BigDecimal principalExchangeAmount
-
unadjustedPrincipalExchangeDate
protected com.rosetta.model.lib.records.Date unadjustedPrincipalExchangeDate
-
-
Method Detail
-
metaData
public com.rosetta.model.lib.meta.RosettaMetaData<? extends PrincipalExchange> metaData()
- Specified by:
metaData
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
getAdjustedPrincipalExchangeDate
public com.rosetta.model.lib.records.Date getAdjustedPrincipalExchangeDate()
-
getDiscountFactor
public java.math.BigDecimal getDiscountFactor()
-
getMeta
public MetaFields.MetaFieldsBuilder getMeta()
- Specified by:
getMeta
in interfacecom.rosetta.model.lib.GlobalKey
- Specified by:
getMeta
in interfacecom.rosetta.model.lib.GlobalKeyBuilder<PrincipalExchange.PrincipalExchangeBuilder>
-
getOrCreateMeta
public MetaFields.MetaFieldsBuilder getOrCreateMeta()
- Specified by:
getOrCreateMeta
in interfacecom.rosetta.model.lib.GlobalKeyBuilder<PrincipalExchange.PrincipalExchangeBuilder>
-
getPresentValuePrincipalExchangeAmount
public Money.MoneyBuilder getPresentValuePrincipalExchangeAmount()
-
getOrCreatePresentValuePrincipalExchangeAmount
public Money.MoneyBuilder getOrCreatePresentValuePrincipalExchangeAmount()
-
getPrincipalExchangeAmount
public java.math.BigDecimal getPrincipalExchangeAmount()
-
getUnadjustedPrincipalExchangeDate
public com.rosetta.model.lib.records.Date getUnadjustedPrincipalExchangeDate()
-
setAdjustedPrincipalExchangeDate
public PrincipalExchange.PrincipalExchangeBuilder setAdjustedPrincipalExchangeDate(com.rosetta.model.lib.records.Date adjustedPrincipalExchangeDate)
-
setDiscountFactor
public PrincipalExchange.PrincipalExchangeBuilder setDiscountFactor(java.math.BigDecimal discountFactor)
-
setMeta
public PrincipalExchange.PrincipalExchangeBuilder setMeta(MetaFields meta)
-
setMetaBuilder
public PrincipalExchange.PrincipalExchangeBuilder setMetaBuilder(MetaFields.MetaFieldsBuilder meta)
-
setPresentValuePrincipalExchangeAmount
public PrincipalExchange.PrincipalExchangeBuilder setPresentValuePrincipalExchangeAmount(Money presentValuePrincipalExchangeAmount)
-
setPresentValuePrincipalExchangeAmountBuilder
public PrincipalExchange.PrincipalExchangeBuilder setPresentValuePrincipalExchangeAmountBuilder(Money.MoneyBuilder presentValuePrincipalExchangeAmount)
-
setPrincipalExchangeAmount
public PrincipalExchange.PrincipalExchangeBuilder setPrincipalExchangeAmount(java.math.BigDecimal principalExchangeAmount)
-
setUnadjustedPrincipalExchangeDate
public PrincipalExchange.PrincipalExchangeBuilder setUnadjustedPrincipalExchangeDate(com.rosetta.model.lib.records.Date unadjustedPrincipalExchangeDate)
-
build
public PrincipalExchange build()
- Specified by:
build
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
public PrincipalExchange.PrincipalExchangeBuilder prune()
- Specified by:
prune
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()
- Specified by:
hasData
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
process
public void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor)
- Specified by:
process
in classcom.rosetta.model.lib.RosettaModelObjectBuilder
-
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
-
-