Package cdm.observable.event
Class Observation.ObservationImpl
java.lang.Object
cdm.observable.event.Observation.ObservationImpl
- All Implemented Interfaces:
Observation,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
Observation
Immutable Implementation of Observation
-
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.observable.event.Observation
Observation.ObservationBuilder, Observation.ObservationBuilderImpl, Observation.ObservationImpl -
Field Summary
Fields inherited from interface cdm.observable.event.Observation
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build Methodsbooleancom.rosetta.model.metafields.MetaFieldsgetMeta()Represents the observation was made i.e. how to uniquely identify the observed value among the population of all available market data.Specifies the observed value as a number.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.observable.event.Observation
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
ObservationImpl
-
-
Method Details
-
getObservedValue
@RosettaAttribute(value="observedValue", isRequired=true) @RuneAttribute(value="observedValue", isRequired=true) public Price getObservedValue()Description copied from interface:ObservationSpecifies the observed value as a number.- Specified by:
getObservedValuein interfaceObservation
-
getObservationIdentifier
@RosettaAttribute(value="observationIdentifier", isRequired=true) @RuneAttribute(value="observationIdentifier", isRequired=true) public ObservationIdentifier getObservationIdentifier()Description copied from interface:ObservationRepresents the observation was made i.e. how to uniquely identify the observed value among the population of all available market data.- Specified by:
getObservationIdentifierin interfaceObservation
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfaceObservation
-
build
Description copied from interface:ObservationBuild Methods- Specified by:
buildin interfaceObservation- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceObservation- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-