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.Specifies the object to be observed for a price, it could be an asset or a reference.Describes date details for a set of observation dates in parametric or non-parametric form.Defines rounding rules and precision to be used in the rounding of observations.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.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
-
getPricingTime
@RosettaAttribute("pricingTime") @RuneAttribute("pricingTime") public BusinessCenterTime getPricingTime()Description copied from interface:ObservationTermsDefines time in respect to a business calendar location that the price/benchmark/index is observed- Specified by:
getPricingTimein interfaceObservationTerms
-
getPricingTimeType
@RosettaAttribute("pricingTimeType") @RuneAttribute("pricingTimeType") public TimeTypeEnum getPricingTimeType()Description copied from interface:ObservationTermsThe enumerated values to specify points in the day when option exercise and valuation can occur.- Specified by:
getPricingTimeTypein interfaceObservationTerms
-
getInformationSource
@RosettaAttribute("informationSource") @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
Description copied from interface:ObservationTermsDefines rounding rules and precision to be used in the rounding of observations.- Specified by:
getPrecisionin interfaceObservationTerms
-
getCalculationPeriodDates
@RosettaAttribute("calculationPeriodDates") @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
-
getObservable
Description copied from interface:ObservationTermsSpecifies the object to be observed for a price, it could be an asset or a reference.- Specified by:
getObservablein interfaceObservationTerms
-
getObservationDates
@RosettaAttribute(value="observationDates", isRequired=true) @RuneAttribute(value="observationDates", isRequired=true) 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") @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
-