Package cdm.product.common.schedule
Class ObservationSchedule.ObservationScheduleBuilderImpl
java.lang.Object
cdm.product.common.schedule.ObservationSchedule.ObservationScheduleBuilderImpl
- All Implemented Interfaces:
ObservationSchedule,ObservationSchedule.ObservationScheduleBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
ObservationSchedule
public static class ObservationSchedule.ObservationScheduleBuilderImpl
extends Object
implements ObservationSchedule.ObservationScheduleBuilder
Builder Implementation of ObservationSchedule
-
Nested Class Summary
Nested classes/interfaces inherited from interface cdm.product.common.schedule.ObservationSchedule
ObservationSchedule.ObservationScheduleBuilder, ObservationSchedule.ObservationScheduleBuilderImpl, ObservationSchedule.ObservationScheduleImpl -
Field Summary
FieldsFields inherited from interface cdm.product.common.schedule.ObservationSchedule
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddObservationDate(ObservationDate _observationDate) addObservationDate(ObservationDate _observationDate, int idx) addObservationDate(List<? extends ObservationDate> observationDates) build()Build MethodsbooleanThe business day convention and financial business centers used for adjusting the date if it would otherwise fall on a day that is not a business date in the specified business centers.List<? extends ObservationDate.ObservationDateBuilder> Specifies an adjusted or unadjusted date for a market observation.getOrCreateObservationDate(int index) booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setDateAdjustments(BusinessDayAdjustments _dateAdjustments) setObservationDate(List<? extends ObservationDate> observationDates) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.schedule.ObservationSchedule
getType, metaData, processMethods inherited from interface cdm.product.common.schedule.ObservationSchedule.ObservationScheduleBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
observationDate
-
dateAdjustments
-
-
Constructor Details
-
ObservationScheduleBuilderImpl
public ObservationScheduleBuilderImpl()
-
-
Method Details
-
getObservationDate
@RosettaAttribute("observationDate") @RuneAttribute("observationDate") public List<? extends ObservationDate.ObservationDateBuilder> getObservationDate()Description copied from interface:ObservationScheduleSpecifies an adjusted or unadjusted date for a market observation.- Specified by:
getObservationDatein interfaceObservationSchedule- Specified by:
getObservationDatein interfaceObservationSchedule.ObservationScheduleBuilder
-
getOrCreateObservationDate
- Specified by:
getOrCreateObservationDatein interfaceObservationSchedule.ObservationScheduleBuilder
-
getDateAdjustments
@RosettaAttribute("dateAdjustments") @RuneAttribute("dateAdjustments") public BusinessDayAdjustments.BusinessDayAdjustmentsBuilder getDateAdjustments()Description copied from interface:ObservationScheduleThe business day convention and financial business centers used for adjusting the date if it would otherwise fall on a day that is not a business date in the specified business centers.- Specified by:
getDateAdjustmentsin interfaceObservationSchedule- Specified by:
getDateAdjustmentsin interfaceObservationSchedule.ObservationScheduleBuilder
-
getOrCreateDateAdjustments
- Specified by:
getOrCreateDateAdjustmentsin interfaceObservationSchedule.ObservationScheduleBuilder
-
addObservationDate
@RosettaAttribute("observationDate") @RuneAttribute("observationDate") public ObservationSchedule.ObservationScheduleBuilder addObservationDate(ObservationDate _observationDate) - Specified by:
addObservationDatein interfaceObservationSchedule.ObservationScheduleBuilder
-
addObservationDate
public ObservationSchedule.ObservationScheduleBuilder addObservationDate(ObservationDate _observationDate, int idx) - Specified by:
addObservationDatein interfaceObservationSchedule.ObservationScheduleBuilder
-
addObservationDate
public ObservationSchedule.ObservationScheduleBuilder addObservationDate(List<? extends ObservationDate> observationDates) - Specified by:
addObservationDatein interfaceObservationSchedule.ObservationScheduleBuilder
-
setObservationDate
@RuneAttribute("observationDate") public ObservationSchedule.ObservationScheduleBuilder setObservationDate(List<? extends ObservationDate> observationDates) - Specified by:
setObservationDatein interfaceObservationSchedule.ObservationScheduleBuilder
-
setDateAdjustments
@RosettaAttribute("dateAdjustments") @RuneAttribute("dateAdjustments") public ObservationSchedule.ObservationScheduleBuilder setDateAdjustments(BusinessDayAdjustments _dateAdjustments) - Specified by:
setDateAdjustmentsin interfaceObservationSchedule.ObservationScheduleBuilder
-
build
Description copied from interface:ObservationScheduleBuild Methods- Specified by:
buildin interfaceObservationSchedule- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceObservationSchedule- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceObservationSchedule.ObservationScheduleBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public ObservationSchedule.ObservationScheduleBuilder 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
-