Package cdm.product.common.schedule
Class ObservationDate.ObservationDateBuilderImpl
java.lang.Object
cdm.product.common.schedule.ObservationDate.ObservationDateBuilderImpl
- All Implemented Interfaces:
ObservationDate,ObservationDate.ObservationDateBuilder,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- Enclosing interface:
ObservationDate
public static class ObservationDate.ObservationDateBuilderImpl
extends Object
implements ObservationDate.ObservationDateBuilder
Builder Implementation of ObservationDate
-
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.schedule.ObservationDate
ObservationDate.ObservationDateBuilder, ObservationDate.ObservationDateBuilderImpl, ObservationDate.ObservationDateImpl -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected com.rosetta.model.lib.records.Dateprotected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilderprotected Stringprotected com.rosetta.model.lib.records.Dateprotected BigDecimalFields inherited from interface cdm.product.common.schedule.ObservationDate
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbooleancom.rosetta.model.lib.records.DateThe date once the adjustment has been performed.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetMeta()Specifies an identification key for the market observation.com.rosetta.model.metafields.MetaFields.MetaFieldsBuildercom.rosetta.model.lib.records.DateA date subject to adjustment.Specifies the degree of importance of the observation.booleanhasData()inthashCode()merge(com.rosetta.model.lib.RosettaModelObjectBuilder other, com.rosetta.model.lib.process.BuilderMerger merger) prune()setAdjustedDate(com.rosetta.model.lib.records.Date _adjustedDate) setMeta(com.rosetta.model.metafields.MetaFields _meta) setObservationReference(String _observationReference) setUnadjustedDate(com.rosetta.model.lib.records.Date _unadjustedDate) setWeight(BigDecimal _weight) toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.product.common.schedule.ObservationDate
getType, metaData, processMethods inherited from interface cdm.product.common.schedule.ObservationDate.ObservationDateBuilder
processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, processRosetta, processRosetta
-
Field Details
-
unadjustedDate
protected com.rosetta.model.lib.records.Date unadjustedDate -
adjustedDate
protected com.rosetta.model.lib.records.Date adjustedDate -
weight
-
observationReference
-
meta
protected com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder meta
-
-
Constructor Details
-
ObservationDateBuilderImpl
public ObservationDateBuilderImpl()
-
-
Method Details
-
getUnadjustedDate
@RosettaAttribute("unadjustedDate") @RuneAttribute("unadjustedDate") public com.rosetta.model.lib.records.Date getUnadjustedDate()Description copied from interface:ObservationDateA date subject to adjustment.- Specified by:
getUnadjustedDatein interfaceObservationDate
-
getAdjustedDate
@RosettaAttribute("adjustedDate") @RuneAttribute("adjustedDate") public com.rosetta.model.lib.records.Date getAdjustedDate()Description copied from interface:ObservationDateThe date once the adjustment has been performed. (Note that this date may change if the business center holidays change).- Specified by:
getAdjustedDatein interfaceObservationDate
-
getWeight
Description copied from interface:ObservationDateSpecifies the degree of importance of the observation.- Specified by:
getWeightin interfaceObservationDate
-
getObservationReference
@RosettaAttribute("observationReference") @RuneAttribute("observationReference") public String getObservationReference()Description copied from interface:ObservationDateSpecifies an identification key for the market observation. This attribute can be used as a reference to assign weights to a series of dates defined in a parametricSchedule.- Specified by:
getObservationReferencein interfaceObservationDate
-
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 interfaceObservationDate- Specified by:
getMetain interfaceObservationDate.ObservationDateBuilder
-
getOrCreateMeta
public com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder- Specified by:
getOrCreateMetain interfaceObservationDate.ObservationDateBuilder
-
setUnadjustedDate
@RosettaAttribute("unadjustedDate") @RuneAttribute("unadjustedDate") public ObservationDate.ObservationDateBuilder setUnadjustedDate(com.rosetta.model.lib.records.Date _unadjustedDate) - Specified by:
setUnadjustedDatein interfaceObservationDate.ObservationDateBuilder
-
setAdjustedDate
@RosettaAttribute("adjustedDate") @RuneAttribute("adjustedDate") public ObservationDate.ObservationDateBuilder setAdjustedDate(com.rosetta.model.lib.records.Date _adjustedDate) - Specified by:
setAdjustedDatein interfaceObservationDate.ObservationDateBuilder
-
setWeight
@RosettaAttribute("weight") @RuneAttribute("weight") public ObservationDate.ObservationDateBuilder setWeight(BigDecimal _weight) - Specified by:
setWeightin interfaceObservationDate.ObservationDateBuilder
-
setObservationReference
@RosettaAttribute("observationReference") @RuneAttribute("observationReference") public ObservationDate.ObservationDateBuilder setObservationReference(String _observationReference) - Specified by:
setObservationReferencein interfaceObservationDate.ObservationDateBuilder
-
setMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public ObservationDate.ObservationDateBuilder setMeta(com.rosetta.model.metafields.MetaFields _meta) - Specified by:
setMetain interfaceObservationDate.ObservationDateBuilder
-
build
Description copied from interface:ObservationDateBuild Methods- Specified by:
buildin interfaceObservationDate- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceObservationDate- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
prune
- Specified by:
prunein interfaceObservationDate.ObservationDateBuilder- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
hasData
public boolean hasData()- Specified by:
hasDatain interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
merge
public ObservationDate.ObservationDateBuilder 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
-