Package cdm.product.common.schedule
Class ObservationTerms.ObservationTermsImpl
java.lang.Object
cdm.product.common.schedule.ObservationTerms.ObservationTermsImpl
- All Implemented Interfaces:
ObservationTerms,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
ObservationTerms
public static class ObservationTerms.ObservationTermsImpl
extends Object
implements ObservationTerms
Immutable Implementation of ObservationTerms
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.schedule.ObservationTerms
ObservationTerms.ObservationTermsBuilder, ObservationTerms.ObservationTermsBuilderImpl, ObservationTerms.ObservationTermsImpl -
Field Summary
Fields inherited from interface cdm.product.common.schedule.ObservationTerms
metaData -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanDefines parameters used to generate the calculation period dates schedule, including the specification of any initial or final stub calculation periods.The information source where a published or displayed market rate will be obtained, e.g.The number of observation dates between observation start date and observation end date.Describes date details for a set of observation dates in parametric or non-parametric form.Defines time in respect to a business calendar location that the price/benchmark/index is observedThe enumerated values to specify points in the day when option exercise and valuation can occur.Defines rounding rules and precision to be used in the rounding of observations.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.schedule.ObservationTerms
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
ObservationTermsImpl
-
-
Method Details
-
getObservationTime
@RosettaAttribute("observationTime") @Accessor(GETTER) @RuneAttribute("observationTime") public BusinessCenterTime getObservationTime()Description copied from interface:ObservationTermsDefines time in respect to a business calendar location that the price/benchmark/index is observed- Specified by:
getObservationTimein interfaceObservationTerms
-
getObservationTimeType
@RosettaAttribute("observationTimeType") @Accessor(GETTER) @RuneAttribute("observationTimeType") public TimeTypeEnum getObservationTimeType()Description copied from interface:ObservationTermsThe enumerated values to specify points in the day when option exercise and valuation can occur.- Specified by:
getObservationTimeTypein interfaceObservationTerms
-
getInformationSource
@RosettaAttribute("informationSource") @Accessor(GETTER) @RuneAttribute("informationSource") public FxSpotRateSource getInformationSource()Description copied from interface:ObservationTermsThe information source where a published or displayed market rate will be obtained, e.g. Telerate Page 3750.- Specified by:
getInformationSourcein interfaceObservationTerms
-
getPrecision
@RosettaAttribute("precision") @Accessor(GETTER) @RuneAttribute("precision") public Rounding getPrecision()Description copied from interface:ObservationTermsDefines rounding rules and precision to be used in the rounding of observations.- Specified by:
getPrecisionin interfaceObservationTerms
-
getCalculationPeriodDates
@RosettaAttribute("calculationPeriodDates") @Accessor(GETTER) @RuneAttribute("calculationPeriodDates") public CalculationPeriodDates getCalculationPeriodDates()Description copied from interface:ObservationTermsDefines parameters used to generate the calculation period dates schedule, including the specification of any initial or final stub calculation periods. A calculation period schedule consists of an optional initial stub calculation period, one or more regular calculation periods and an optional final stub calculation period. In the absence of any initial or final stub calculation periods, the regular part of the calculation period schedule is assumed to be between the effective date and the termination date. No implicit stubs are allowed, i.e. stubs must be explicitly specified using an appropriate combination of firstPeriodStartDate, firstRegularPeriodStartDate and lastRegularPeriodEndDate.- Specified by:
getCalculationPeriodDatesin interfaceObservationTerms
-
getObservationDates
@RosettaAttribute("observationDates") @Accessor(GETTER) @Required @RuneAttribute("observationDates") public ObservationDates getObservationDates()Description copied from interface:ObservationTermsDescribes date details for a set of observation dates in parametric or non-parametric form.- Specified by:
getObservationDatesin interfaceObservationTerms
-
getNumberOfObservationDates
@RosettaAttribute("numberOfObservationDates") @Accessor(GETTER) @RuneAttribute("numberOfObservationDates") public Integer getNumberOfObservationDates()Description copied from interface:ObservationTermsThe number of observation dates between observation start date and observation end date.- Specified by:
getNumberOfObservationDatesin interfaceObservationTerms
-
build
Description copied from interface:ObservationTermsBuild Methods- Specified by:
buildin interfaceObservationTerms- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceObservationTerms- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-