Package cdm.observable.asset
Interface Observable.ObservableBuilder
- All Superinterfaces:
com.rosetta.model.lib.GlobalKey,com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder,Observable,com.rosetta.model.lib.RosettaModelObject,com.rosetta.model.lib.RosettaModelObjectBuilder
- All Known Implementing Classes:
Observable.ObservableBuilderImpl
- Enclosing interface:
Observable
public static interface Observable.ObservableBuilder
extends Observable, com.rosetta.model.lib.RosettaModelObjectBuilder, com.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
Builder Interface
-
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 -
Method Summary
Modifier and TypeMethodDescriptionaddProductIdentifier(FieldWithMetaProductIdentifier productIdentifier) addProductIdentifier(FieldWithMetaProductIdentifier productIdentifier, int idx) addProductIdentifier(List<? extends FieldWithMetaProductIdentifier> productIdentifier) addProductIdentifierValue(ProductIdentifier productIdentifier) addProductIdentifierValue(ProductIdentifier productIdentifier, int idx) addProductIdentifierValue(List<? extends ProductIdentifier> productIdentifier) Identifies 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.MetaFields.MetaFieldsBuildergetMeta()com.rosetta.model.metafields.MetaFields.MetaFieldsBuildergetOrCreateProductIdentifier(int index) Comprises of an identifier and a source.Specifies a floating rate index and tenor.default voidprocess(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) prune()setCommodity(FieldWithMetaCommodity commodity) setCommodityValue(Commodity commodity) setCurrencyPair(FieldWithMetaQuotedCurrencyPair currencyPair) setCurrencyPairValue(QuotedCurrencyPair currencyPair) setMeta(com.rosetta.model.metafields.MetaFields meta) setOptionReferenceType(OptionReferenceTypeEnum optionReferenceType) setProductIdentifier(List<? extends FieldWithMetaProductIdentifier> productIdentifier) setProductIdentifierValue(List<? extends ProductIdentifier> productIdentifier) setRateOption(FieldWithMetaFloatingRateOption rateOption) setRateOptionValue(FloatingRateOption rateOption) Methods inherited from interface cdm.observable.asset.Observable
build, getOptionReferenceType, getType, metaData, process, toBuilderMethods inherited from interface com.rosetta.model.lib.RosettaModelObject
processRosetta, processRosettaMethods inherited from interface com.rosetta.model.lib.RosettaModelObjectBuilder
getIndex, hasData, merge, processRosetta, processRosetta
-
Method Details
-
getOrCreateRateOption
FieldWithMetaFloatingRateOption.FieldWithMetaFloatingRateOptionBuilder getOrCreateRateOption() -
getRateOption
Description copied from interface:ObservableSpecifies a floating rate index and tenor.- Specified by:
getRateOptionin interfaceObservable
-
getOrCreateCommodity
FieldWithMetaCommodity.FieldWithMetaCommodityBuilder getOrCreateCommodity() -
getCommodity
FieldWithMetaCommodity.FieldWithMetaCommodityBuilder getCommodity()Description copied from interface:ObservableIdentifies a commodity by referencing a product identifier.- Specified by:
getCommodityin interfaceObservable
-
getOrCreateProductIdentifier
FieldWithMetaProductIdentifier.FieldWithMetaProductIdentifierBuilder getOrCreateProductIdentifier(int index) -
getProductIdentifier
List<? extends FieldWithMetaProductIdentifier.FieldWithMetaProductIdentifierBuilder> 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
-
getOrCreateCurrencyPair
FieldWithMetaQuotedCurrencyPair.FieldWithMetaQuotedCurrencyPairBuilder getOrCreateCurrencyPair() -
getCurrencyPair
FieldWithMetaQuotedCurrencyPair.FieldWithMetaQuotedCurrencyPairBuilder 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
-
getOrCreateMeta
com.rosetta.model.metafields.MetaFields.MetaFieldsBuilder getOrCreateMeta()- Specified by:
getOrCreateMetain interfacecom.rosetta.model.lib.GlobalKey.GlobalKeyBuilder
-
getMeta
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 interfaceObservable
-
setRateOption
-
setRateOptionValue
-
setCommodity
-
setCommodityValue
-
addProductIdentifier
-
addProductIdentifier
Observable.ObservableBuilder addProductIdentifier(FieldWithMetaProductIdentifier productIdentifier, int idx) -
addProductIdentifierValue
-
addProductIdentifierValue
Observable.ObservableBuilder addProductIdentifierValue(ProductIdentifier productIdentifier, int idx) -
addProductIdentifier
Observable.ObservableBuilder addProductIdentifier(List<? extends FieldWithMetaProductIdentifier> productIdentifier) -
setProductIdentifier
Observable.ObservableBuilder setProductIdentifier(List<? extends FieldWithMetaProductIdentifier> productIdentifier) -
addProductIdentifierValue
Observable.ObservableBuilder addProductIdentifierValue(List<? extends ProductIdentifier> productIdentifier) -
setProductIdentifierValue
Observable.ObservableBuilder setProductIdentifierValue(List<? extends ProductIdentifier> productIdentifier) -
setCurrencyPair
-
setCurrencyPairValue
-
setOptionReferenceType
-
setMeta
-
process
default void process(com.rosetta.model.lib.path.RosettaPath path, com.rosetta.model.lib.process.BuilderProcessor processor) - Specified by:
processin interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-
prune
Observable.ObservableBuilder prune()- Specified by:
prunein interfacecom.rosetta.model.lib.RosettaModelObjectBuilder
-