Package cdm.product.common.settlement
Class SettlementDate.SettlementDateBuilderImpl
java.lang.Object
cdm.product.common.settlement.SettlementDate.SettlementDateBuilderImpl
- All Implemented Interfaces:
SettlementDate,SettlementDate.SettlementDateBuilder,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
SettlementDate
public static class SettlementDate.SettlementDateBuilderImpl
extends Object
implements SettlementDate.SettlementDateBuilder
Builder Implementation of SettlementDate
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.product.common.settlement.SettlementDate
SettlementDate.SettlementDateBuilder, SettlementDate.SettlementDateBuilderImpl, SettlementDate.SettlementDateImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AdjustableDates.AdjustableDatesBuilderprotected Integerprotected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderprotected Booleanprotected com.rosetta.model.lib.records.DateFields inherited from interface cdm.product.common.settlement.SettlementDate
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanA series of dates that shall be subject to adjustment if they would otherwise fall on a day that is not a business day in the specified business centers, together with the convention for adjusting the date.A single settlement date subject to adjustment or specified as relative to another date (e.g. the trade date).A range of contiguous business days.The number of business days used in the determination of the cash settlement payment date.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderApplicable to CDS on MBS to specify whether payment delays are applicable to the fixed Amount.com.rosetta.model.lib.records.DateThe settlement date for a forward settling product.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAdjustableDates(AdjustableDates _adjustableDates) setAdjustableOrRelativeDate(AdjustableOrAdjustedOrRelativeDate _adjustableOrRelativeDate) setBusinessDateRange(BusinessDateRange _businessDateRange) setCashSettlementBusinessDays(Integer _cashSettlementBusinessDays) setMeta(com.rosetta.model.metafields.MetaFields _meta) setPaymentDelay(Boolean _paymentDelay) setValueDate(com.rosetta.model.lib.records.Date _valueDate) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosettaMethods inherited from interface cdm.product.common.settlement.SettlementDate
getType, metaData, processMethods inherited from interface cdm.product.common.settlement.SettlementDate.SettlementDateBuilder
process
-
Field Details
-
adjustableOrRelativeDate
protected AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder adjustableOrRelativeDate -
valueDate
protected com.rosetta.model.lib.records.Date valueDate -
adjustableDates
-
businessDateRange
-
cashSettlementBusinessDays
-
paymentDelay
-
meta
protected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder meta
-
-
Constructor Details
-
SettlementDateBuilderImpl
public SettlementDateBuilderImpl()
-
-
Method Details
-
getAdjustableOrRelativeDate
@RosettaAttribute("adjustableOrRelativeDate") @RuneAttribute("adjustableOrRelativeDate") public AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder getAdjustableOrRelativeDate()Description copied from interface:SettlementDateA single settlement date subject to adjustment or specified as relative to another date (e.g. the trade date). This attribute was formerly part of 'SettlementTerms', which is now being harmonised to include a common 'SettlementDate', as inherited from 'SettlementBase'.- Specified by:
getAdjustableOrRelativeDatein interfaceSettlementDate- Specified by:
getAdjustableOrRelativeDatein interfaceSettlementDate.SettlementDateBuilder
-
getOrCreateAdjustableOrRelativeDate
public AdjustableOrAdjustedOrRelativeDate.AdjustableOrAdjustedOrRelativeDateBuilder getOrCreateAdjustableOrRelativeDate()- Specified by:
getOrCreateAdjustableOrRelativeDatein interfaceSettlementDate.SettlementDateBuilder
-
getValueDate
@RosettaAttribute("valueDate") @RuneAttribute("valueDate") public com.rosetta.model.lib.records.Date getValueDate()Description copied from interface:SettlementDateThe settlement date for a forward settling product. For Foreign Exchange contracts, this represents a common settlement date between both currency legs. To specify different settlement dates for each currency leg, see the ForeignExchange class. This attribute was formerly part of 'SettlementTerms', which is now being harmonised to include a common 'SettlementDate', as inherited from 'SettlementBase'.- Specified by:
getValueDatein interfaceSettlementDate
-
getAdjustableDates
@RosettaAttribute("adjustableDates") @RuneAttribute("adjustableDates") public AdjustableDates.AdjustableDatesBuilder getAdjustableDates()Description copied from interface:SettlementDateA series of dates that shall be subject to adjustment if they would otherwise fall on a day that is not a business day in the specified business centers, together with the convention for adjusting the date. This attributes was formerly part of 'CashSettlementPaymentDate' as included into 'OptionCashSettlement' (which is now merged into a unique 'CashSettlementTerms' data type.- Specified by:
getAdjustableDatesin interfaceSettlementDate- Specified by:
getAdjustableDatesin interfaceSettlementDate.SettlementDateBuilder
-
getOrCreateAdjustableDates
- Specified by:
getOrCreateAdjustableDatesin interfaceSettlementDate.SettlementDateBuilder
-
getBusinessDateRange
@RosettaAttribute("businessDateRange") @RuneAttribute("businessDateRange") public BusinessDateRange.BusinessDateRangeBuilder getBusinessDateRange()Description copied from interface:SettlementDateA range of contiguous business days. This attribute is meant to be merged with the 'settlementDate' at some future point once we refactor 'Date' to use a single complex type across the model. This attributes was formerly part of 'CashSettlementPaymentDate', as included into 'OptionCashSettlement' (which is now merged into a unique 'CashSettlementTerms' data type.- Specified by:
getBusinessDateRangein interfaceSettlementDate- Specified by:
getBusinessDateRangein interfaceSettlementDate.SettlementDateBuilder
-
getOrCreateBusinessDateRange
- Specified by:
getOrCreateBusinessDateRangein interfaceSettlementDate.SettlementDateBuilder
-
getCashSettlementBusinessDays
@RosettaAttribute("cashSettlementBusinessDays") @RuneAttribute("cashSettlementBusinessDays") public Integer getCashSettlementBusinessDays()Description copied from interface:SettlementDateThe number of business days used in the determination of the cash settlement payment date. If a cash settlement amount is specified, the cash settlement payment date will be this number of business days following the calculation of the final price. If a cash settlement amount is not specified, the cash settlement payment date will be this number of business days after all conditions to settlement are satisfied. ISDA 2003 Term: Cash Settlement Date. This attribute was formerly part of 'CashSettlementTerms' as used for credit event settlement, which now includes a common 'SettlementDate' attribute.- Specified by:
getCashSettlementBusinessDaysin interfaceSettlementDate
-
getPaymentDelay
Description copied from interface:SettlementDateApplicable to CDS on MBS to specify whether payment delays are applicable to the fixed Amount. RMBS typically have a payment delay of 5 days between the coupon date of the reference obligation and the payment date of the synthetic swap. CMBS do not, on the other hand, with both payment dates being on the 25th of each month.- Specified by:
getPaymentDelayin interfaceSettlementDate
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getMetain interfaceSettlementDate- Specified by:
getMetain interfaceSettlementDate.SettlementDateBuilder
-
getOrCreateMeta
public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getOrCreateMetain interfaceSettlementDate.SettlementDateBuilder
-
setAdjustableOrRelativeDate
@RosettaAttribute("adjustableOrRelativeDate") @RuneAttribute("adjustableOrRelativeDate") public SettlementDate.SettlementDateBuilder setAdjustableOrRelativeDate(AdjustableOrAdjustedOrRelativeDate _adjustableOrRelativeDate) - Specified by:
setAdjustableOrRelativeDatein interfaceSettlementDate.SettlementDateBuilder
-
setValueDate
@RosettaAttribute("valueDate") @RuneAttribute("valueDate") public SettlementDate.SettlementDateBuilder setValueDate(com.rosetta.model.lib.records.Date _valueDate) - Specified by:
setValueDatein interfaceSettlementDate.SettlementDateBuilder
-
setAdjustableDates
@RosettaAttribute("adjustableDates") @RuneAttribute("adjustableDates") public SettlementDate.SettlementDateBuilder setAdjustableDates(AdjustableDates _adjustableDates) - Specified by:
setAdjustableDatesin interfaceSettlementDate.SettlementDateBuilder
-
setBusinessDateRange
@RosettaAttribute("businessDateRange") @RuneAttribute("businessDateRange") public SettlementDate.SettlementDateBuilder setBusinessDateRange(BusinessDateRange _businessDateRange) - Specified by:
setBusinessDateRangein interfaceSettlementDate.SettlementDateBuilder
-
setCashSettlementBusinessDays
@RosettaAttribute("cashSettlementBusinessDays") @RuneAttribute("cashSettlementBusinessDays") public SettlementDate.SettlementDateBuilder setCashSettlementBusinessDays(Integer _cashSettlementBusinessDays) - Specified by:
setCashSettlementBusinessDaysin interfaceSettlementDate.SettlementDateBuilder
-
setPaymentDelay
@RosettaAttribute("paymentDelay") @RuneAttribute("paymentDelay") public SettlementDate.SettlementDateBuilder setPaymentDelay(Boolean _paymentDelay) - Specified by:
setPaymentDelayin interfaceSettlementDate.SettlementDateBuilder
-
setMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public SettlementDate.SettlementDateBuilder setMeta(com.rosetta.model.metafields.MetaFields _meta) - Specified by:
setMetain interfaceSettlementDate.SettlementDateBuilder
-
build
Description copied from interface:SettlementDateBuild Methods- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
buildin interfaceSettlementDate
-
toBuilder
- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Specified by:
toBuilderin interfaceSettlementDate
-
prune
- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Specified by:
prunein interfaceSettlementDate.SettlementDateBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public SettlementDate.SettlementDateBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
equals
-
hashCode
public int hashCode() -
toString
-