Package cdm.product.common.settlement
Class FxFixingDate.FxFixingDateBuilderImpl
java.lang.Object
cdm.base.datetime.Period.PeriodBuilderImpl
cdm.base.datetime.Offset.OffsetBuilderImpl
cdm.product.common.settlement.FxFixingDate.FxFixingDateBuilderImpl
- All Implemented Interfaces:
Offset,Offset.OffsetBuilder,Period,Period.PeriodBuilder,FxFixingDate,FxFixingDate.FxFixingDateBuilder,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
FxFixingDate
public static class FxFixingDate.FxFixingDateBuilderImpl
extends Offset.OffsetBuilderImpl
implements FxFixingDate.FxFixingDateBuilder
Builder Implementation of FxFixingDate
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.settlement.FxFixingDate
FxFixingDate.FxFixingDateBuilder, FxFixingDate.FxFixingDateBuilderImpl, FxFixingDate.FxFixingDateImplNested classes/interfaces inherited from interface com.rosetta.model.lib.GlobalKey
com.rosetta.model.lib.GlobalKey.GlobalKeyBuilderNested classes/interfaces inherited from interface cdm.base.datetime.Offset
Offset.OffsetBuilder, Offset.OffsetBuilderImpl, Offset.OffsetImplNested classes/interfaces inherited from interface cdm.base.datetime.Period
Period.PeriodBuilder, Period.PeriodBuilderImpl, Period.PeriodImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BusinessCenters.BusinessCentersBuilderprotected BusinessDayConventionEnumFields inherited from class cdm.base.datetime.Offset.OffsetBuilderImpl
dayTypeFields inherited from class cdm.base.datetime.Period.PeriodBuilderImpl
meta, period, periodMultiplierFields inherited from interface cdm.product.common.settlement.FxFixingDate
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanA reference to a set of financial business centers defined elsewhere in the document.The convention for adjusting a date if it would otherwise fall on a day that is not a business day, as specified by an ISDA convention (e.g.The calculation period references on which settlements in non-deliverable currency are due and will then have to be converted according to the terms specified through the other parts of the nonDeliverableSettlement structure.The payment date references on which settlements in non-deliverable currency are due and will then have to be converted according to the terms specified through the other parts of the nonDeliverableSettlement structure.The calculation period references on which settlements in non-deliverable currency are due and will then have to be converted according to the terms specified through the other parts of the nonDeliverableSettlement structure.Describes the specific date when a non-deliverable forward or cash-settled option will 'fix' against a particular rate, which will be used to compute the ultimate cash settlement.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setBusinessCenters(BusinessCenters _businessCenters) setBusinessCentersReference(ReferenceWithMetaBusinessCenters _businessCentersReference) setBusinessCentersReferenceValue(BusinessCenters _businessCentersReference) setBusinessDayConvention(BusinessDayConventionEnum _businessDayConvention) setDateRelativeToCalculationPeriodDates(DateRelativeToCalculationPeriodDates _dateRelativeToCalculationPeriodDates) setDateRelativeToPaymentDates(DateRelativeToPaymentDates _dateRelativeToPaymentDates) setDateRelativeToValuationDates(DateRelativeToValuationDates _dateRelativeToValuationDates) setDayType(DayTypeEnum _dayType) setFxFixingDate(AdjustableOrRelativeDate _fxFixingDate) setMeta(com.rosetta.model.metafields.MetaFields _meta) setPeriod(PeriodEnum _period) setPeriodMultiplier(Integer _periodMultiplier) toString()Methods inherited from class cdm.base.datetime.Offset.OffsetBuilderImpl
getDayTypeMethods inherited from class cdm.base.datetime.Period.PeriodBuilderImpl
getMeta, getOrCreateMeta, getPeriod, getPeriodMultiplierMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.settlement.FxFixingDate
getType, metaData, processMethods inherited from interface cdm.product.common.settlement.FxFixingDate.FxFixingDateBuilder
processMethods inherited from interface cdm.base.datetime.Offset
getDayTypeMethods inherited from interface cdm.base.datetime.Period
getPeriod, getPeriodMultiplierMethods inherited from interface cdm.base.datetime.Period.PeriodBuilder
getMeta, getOrCreateMetaMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
businessDayConvention
-
businessCenters
-
businessCentersReference
protected ReferenceWithMetaBusinessCenters.ReferenceWithMetaBusinessCentersBuilder businessCentersReference -
dateRelativeToPaymentDates
-
dateRelativeToCalculationPeriodDates
protected DateRelativeToCalculationPeriodDates.DateRelativeToCalculationPeriodDatesBuilder dateRelativeToCalculationPeriodDates -
dateRelativeToValuationDates
protected DateRelativeToValuationDates.DateRelativeToValuationDatesBuilder dateRelativeToValuationDates -
fxFixingDate
-
-
Constructor Details
-
FxFixingDateBuilderImpl
public FxFixingDateBuilderImpl()
-
-
Method Details
-
getBusinessDayConvention
@RosettaAttribute("businessDayConvention") @RuneAttribute("businessDayConvention") public BusinessDayConventionEnum getBusinessDayConvention()Description copied from interface:FxFixingDateThe convention for adjusting a date if it would otherwise fall on a day that is not a business day, as specified by an ISDA convention (e.g. Following, Precedent).- Specified by:
getBusinessDayConventionin interfaceFxFixingDate
-
getBusinessCenters
@RosettaAttribute("businessCenters") @RuneAttribute("businessCenters") public BusinessCenters.BusinessCentersBuilder getBusinessCenters()- Specified by:
getBusinessCentersin interfaceFxFixingDate- Specified by:
getBusinessCentersin interfaceFxFixingDate.FxFixingDateBuilder
-
getOrCreateBusinessCenters
- Specified by:
getOrCreateBusinessCentersin interfaceFxFixingDate.FxFixingDateBuilder
-
getBusinessCentersReference
@RosettaAttribute("businessCentersReference") @RuneAttribute("businessCentersReference") public ReferenceWithMetaBusinessCenters.ReferenceWithMetaBusinessCentersBuilder getBusinessCentersReference()Description copied from interface:FxFixingDateA reference to a set of financial business centers defined elsewhere in the document. This set of business centers is used to determine whether a particular day is a business day or not.- Specified by:
getBusinessCentersReferencein interfaceFxFixingDate- Specified by:
getBusinessCentersReferencein interfaceFxFixingDate.FxFixingDateBuilder
-
getOrCreateBusinessCentersReference
public ReferenceWithMetaBusinessCenters.ReferenceWithMetaBusinessCentersBuilder getOrCreateBusinessCentersReference()- Specified by:
getOrCreateBusinessCentersReferencein interfaceFxFixingDate.FxFixingDateBuilder
-
getDateRelativeToPaymentDates
@RosettaAttribute("dateRelativeToPaymentDates") @RuneAttribute("dateRelativeToPaymentDates") public DateRelativeToPaymentDates.DateRelativeToPaymentDatesBuilder getDateRelativeToPaymentDates()Description copied from interface:FxFixingDateThe payment date references on which settlements in non-deliverable currency are due and will then have to be converted according to the terms specified through the other parts of the nonDeliverableSettlement structure.- Specified by:
getDateRelativeToPaymentDatesin interfaceFxFixingDate- Specified by:
getDateRelativeToPaymentDatesin interfaceFxFixingDate.FxFixingDateBuilder
-
getOrCreateDateRelativeToPaymentDates
public DateRelativeToPaymentDates.DateRelativeToPaymentDatesBuilder getOrCreateDateRelativeToPaymentDates()- Specified by:
getOrCreateDateRelativeToPaymentDatesin interfaceFxFixingDate.FxFixingDateBuilder
-
getDateRelativeToCalculationPeriodDates
@RosettaAttribute("dateRelativeToCalculationPeriodDates") @RuneAttribute("dateRelativeToCalculationPeriodDates") public DateRelativeToCalculationPeriodDates.DateRelativeToCalculationPeriodDatesBuilder getDateRelativeToCalculationPeriodDates()Description copied from interface:FxFixingDateThe calculation period references on which settlements in non-deliverable currency are due and will then have to be converted according to the terms specified through the other parts of the nonDeliverableSettlement structure. Implemented for Brazilian-CDI swaps where it will refer to the termination date of the appropriate leg.- Specified by:
getDateRelativeToCalculationPeriodDatesin interfaceFxFixingDate- Specified by:
getDateRelativeToCalculationPeriodDatesin interfaceFxFixingDate.FxFixingDateBuilder
-
getOrCreateDateRelativeToCalculationPeriodDates
public DateRelativeToCalculationPeriodDates.DateRelativeToCalculationPeriodDatesBuilder getOrCreateDateRelativeToCalculationPeriodDates()- Specified by:
getOrCreateDateRelativeToCalculationPeriodDatesin interfaceFxFixingDate.FxFixingDateBuilder
-
getDateRelativeToValuationDates
@RosettaAttribute("dateRelativeToValuationDates") @RuneAttribute("dateRelativeToValuationDates") public DateRelativeToValuationDates.DateRelativeToValuationDatesBuilder getDateRelativeToValuationDates()Description copied from interface:FxFixingDateThe calculation period references on which settlements in non-deliverable currency are due and will then have to be converted according to the terms specified through the other parts of the nonDeliverableSettlement structure. Implemented for Brazilian-CDI swaps where it will refer to the termination date of the appropriate leg.- Specified by:
getDateRelativeToValuationDatesin interfaceFxFixingDate- Specified by:
getDateRelativeToValuationDatesin interfaceFxFixingDate.FxFixingDateBuilder
-
getOrCreateDateRelativeToValuationDates
public DateRelativeToValuationDates.DateRelativeToValuationDatesBuilder getOrCreateDateRelativeToValuationDates()- Specified by:
getOrCreateDateRelativeToValuationDatesin interfaceFxFixingDate.FxFixingDateBuilder
-
getFxFixingDate
@RosettaAttribute("fxFixingDate") @RuneAttribute("fxFixingDate") public AdjustableOrRelativeDate.AdjustableOrRelativeDateBuilder getFxFixingDate()Description copied from interface:FxFixingDateDescribes the specific date when a non-deliverable forward or cash-settled option will 'fix' against a particular rate, which will be used to compute the ultimate cash settlement. This element should be omitted where a single, discrete fixing date cannot be identified e.g. on an american option, where fixing may occur at any date on a continuous range. This attribute was formerly part of 'fxSettlementTerms', which is now being harmonised into a common 'CashSettlementTerms' that includes a 'ValuationDate'.- Specified by:
getFxFixingDatein interfaceFxFixingDate- Specified by:
getFxFixingDatein interfaceFxFixingDate.FxFixingDateBuilder
-
getOrCreateFxFixingDate
- Specified by:
getOrCreateFxFixingDatein interfaceFxFixingDate.FxFixingDateBuilder
-
setPeriodMultiplier
@RosettaAttribute(value="periodMultiplier", isRequired=true) @RuneAttribute(value="periodMultiplier", isRequired=true) public FxFixingDate.FxFixingDateBuilder setPeriodMultiplier(Integer _periodMultiplier) - Specified by:
setPeriodMultiplierin interfaceFxFixingDate.FxFixingDateBuilder- Specified by:
setPeriodMultiplierin interfaceOffset.OffsetBuilder- Specified by:
setPeriodMultiplierin interfacePeriod.PeriodBuilder- Overrides:
setPeriodMultiplierin classOffset.OffsetBuilderImpl
-
setPeriod
@RosettaAttribute(value="period", isRequired=true) @RuneAttribute(value="period", isRequired=true) public FxFixingDate.FxFixingDateBuilder setPeriod(PeriodEnum _period) - Specified by:
setPeriodin interfaceFxFixingDate.FxFixingDateBuilder- Specified by:
setPeriodin interfaceOffset.OffsetBuilder- Specified by:
setPeriodin interfacePeriod.PeriodBuilder- Overrides:
setPeriodin classOffset.OffsetBuilderImpl
-
setMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public FxFixingDate.FxFixingDateBuilder setMeta(com.rosetta.model.metafields.MetaFields _meta) - Specified by:
setMetain interfaceFxFixingDate.FxFixingDateBuilder- Specified by:
setMetain interfaceOffset.OffsetBuilder- Specified by:
setMetain interfacePeriod.PeriodBuilder- Overrides:
setMetain classOffset.OffsetBuilderImpl
-
setDayType
@RosettaAttribute("dayType") @RuneAttribute("dayType") public FxFixingDate.FxFixingDateBuilder setDayType(DayTypeEnum _dayType) - Specified by:
setDayTypein interfaceFxFixingDate.FxFixingDateBuilder- Specified by:
setDayTypein interfaceOffset.OffsetBuilder- Overrides:
setDayTypein classOffset.OffsetBuilderImpl
-
setBusinessDayConvention
@RosettaAttribute("businessDayConvention") @RuneAttribute("businessDayConvention") public FxFixingDate.FxFixingDateBuilder setBusinessDayConvention(BusinessDayConventionEnum _businessDayConvention) - Specified by:
setBusinessDayConventionin interfaceFxFixingDate.FxFixingDateBuilder
-
setBusinessCenters
@RosettaAttribute("businessCenters") @RuneAttribute("businessCenters") public FxFixingDate.FxFixingDateBuilder setBusinessCenters(BusinessCenters _businessCenters) - Specified by:
setBusinessCentersin interfaceFxFixingDate.FxFixingDateBuilder
-
setBusinessCentersReference
@RosettaAttribute("businessCentersReference") @RuneAttribute("businessCentersReference") public FxFixingDate.FxFixingDateBuilder setBusinessCentersReference(ReferenceWithMetaBusinessCenters _businessCentersReference) - Specified by:
setBusinessCentersReferencein interfaceFxFixingDate.FxFixingDateBuilder
-
setBusinessCentersReferenceValue
public FxFixingDate.FxFixingDateBuilder setBusinessCentersReferenceValue(BusinessCenters _businessCentersReference) - Specified by:
setBusinessCentersReferenceValuein interfaceFxFixingDate.FxFixingDateBuilder
-
setDateRelativeToPaymentDates
@RosettaAttribute("dateRelativeToPaymentDates") @RuneAttribute("dateRelativeToPaymentDates") public FxFixingDate.FxFixingDateBuilder setDateRelativeToPaymentDates(DateRelativeToPaymentDates _dateRelativeToPaymentDates) - Specified by:
setDateRelativeToPaymentDatesin interfaceFxFixingDate.FxFixingDateBuilder
-
setDateRelativeToCalculationPeriodDates
@RosettaAttribute("dateRelativeToCalculationPeriodDates") @RuneAttribute("dateRelativeToCalculationPeriodDates") public FxFixingDate.FxFixingDateBuilder setDateRelativeToCalculationPeriodDates(DateRelativeToCalculationPeriodDates _dateRelativeToCalculationPeriodDates) - Specified by:
setDateRelativeToCalculationPeriodDatesin interfaceFxFixingDate.FxFixingDateBuilder
-
setDateRelativeToValuationDates
@RosettaAttribute("dateRelativeToValuationDates") @RuneAttribute("dateRelativeToValuationDates") public FxFixingDate.FxFixingDateBuilder setDateRelativeToValuationDates(DateRelativeToValuationDates _dateRelativeToValuationDates) - Specified by:
setDateRelativeToValuationDatesin interfaceFxFixingDate.FxFixingDateBuilder
-
setFxFixingDate
@RosettaAttribute("fxFixingDate") @RuneAttribute("fxFixingDate") public FxFixingDate.FxFixingDateBuilder setFxFixingDate(AdjustableOrRelativeDate _fxFixingDate) - Specified by:
setFxFixingDatein interfaceFxFixingDate.FxFixingDateBuilder
-
build
Description copied from interface:PeriodBuild Methods- Specified by:
buildin interfaceFxFixingDate- Specified by:
buildin interfaceOffset- Specified by:
buildin interfacePeriod- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
buildin classOffset.OffsetBuilderImpl
-
toBuilder
- Specified by:
toBuilderin interfaceFxFixingDate- Specified by:
toBuilderin interfaceOffset- Specified by:
toBuilderin interfacePeriod- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject- Overrides:
toBuilderin classOffset.OffsetBuilderImpl
-
prune
- Specified by:
prunein interfaceFxFixingDate.FxFixingDateBuilder- Specified by:
prunein interfaceOffset.OffsetBuilder- Specified by:
prunein interfacePeriod.PeriodBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
prunein classOffset.OffsetBuilderImpl
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
hasDatain classOffset.OffsetBuilderImpl
-
merge
public FxFixingDate.FxFixingDateBuilder merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) - Specified by:
mergein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder- Overrides:
mergein classOffset.OffsetBuilderImpl
-
equals
- Overrides:
equalsin classOffset.OffsetBuilderImpl
-
hashCode
public int hashCode()- Overrides:
hashCodein classOffset.OffsetBuilderImpl
-
toString
- Overrides:
toStringin classOffset.OffsetBuilderImpl
-