Package cdm.observable.asset
Class Observable.ObservableImpl
java.lang.Object
cdm.observable.asset.Observable.ObservableImpl
- All Implemented Interfaces:
Observable,com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.RosettaModelObject
- Enclosing interface:
Observable
Immutable Implementation of Observable
-
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.asset.Observable
Observable.ObservableBuilder, Observable.ObservableBuilderImpl, Observable.ObservableImpl -
Field Summary
Fields inherited from interface cdm.observable.asset.Observable
metaData -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Build MethodsbooleanIdentifies a commodity by referencing a product identifier.Describes the composition of a rate that has been quoted or is to be quoted, including the two currencies and the quotation relationship between the two currencies.com.rosetta.model.metafields.MetaFieldsgetMeta()The underlying contract which is referenced when determining the final settlement price of the instrument.List<? extends FieldWithMetaProductIdentifier> Comprises of an identifier and a source.Specifies a floating rate index and tenor.inthashCode()protected voidtoString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface cdm.observable.asset.Observable
getType, metaData, processMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosetta
-
Constructor Details
-
ObservableImpl
-
-
Method Details
-
getRateOption
@RosettaAttribute("rateOption") @RuneAttribute("rateOption") @RuneScopedAttributeKey public FieldWithMetaFloatingRateOption getRateOption()Description copied from interface:ObservableSpecifies a floating rate index and tenor.- Specified by:
getRateOptionin interfaceObservable
-
getCommodity
@RosettaAttribute("commodity") @RuneAttribute("commodity") @RuneScopedAttributeKey public FieldWithMetaCommodity getCommodity()Description copied from interface:ObservableIdentifies a commodity by referencing a product identifier.- Specified by:
getCommodityin interfaceObservable
-
getProductIdentifier
@RosettaAttribute("productIdentifier") @RuneAttribute("productIdentifier") @RuneScopedAttributeKey public List<? extends FieldWithMetaProductIdentifier> getProductIdentifier()Description copied from interface:ObservableComprises of an identifier and a source. The associated metadata key denotes the ability to associate a hash value to the ProductIdentifier instantiations for the purpose of model cross-referencing, in support of functionality such as the event effect and the lineage.- Specified by:
getProductIdentifierin interfaceObservable
-
getCurrencyPair
@RosettaAttribute("currencyPair") @RuneAttribute("currencyPair") @RuneScopedAttributeKey public FieldWithMetaQuotedCurrencyPair getCurrencyPair()Description copied from interface:ObservableDescribes the composition of a rate that has been quoted or is to be quoted, including the two currencies and the quotation relationship between the two currencies.- Specified by:
getCurrencyPairin interfaceObservable
-
getOptionReferenceType
@RosettaAttribute("optionReferenceType") @RuneAttribute("optionReferenceType") public OptionReferenceTypeEnum getOptionReferenceType()Description copied from interface:ObservableThe underlying contract which is referenced when determining the final settlement price of the instrument. Eg. Rolling Front Month Future; Spot etc.- Specified by:
getOptionReferenceTypein interfaceObservable
-
getMeta
@RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()- Specified by:
getMetain interfacecom.rosetta.model.lib.GlobalKey- Specified by:
getMetain interfaceObservable
-
build
Description copied from interface:ObservableBuild Methods- Specified by:
buildin interfaceObservable- Specified by:
buildin interfacecom.rosetta.model.lib.RosettaModelObject
-
toBuilder
- Specified by:
toBuilderin interfaceObservable- Specified by:
toBuilderin interfacecom.rosetta.model.lib.RosettaModelObject
-
setBuilderFields
-
equals
-
hashCode
public int hashCode() -
toString
-