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

public static class Observable.ObservableImpl extends Object implements Observable
Immutable Implementation of Observable
  • Constructor Details

  • Method Details

    • getRateOption

      @RosettaAttribute("rateOption") @RuneAttribute("rateOption") @RuneScopedAttributeKey public FieldWithMetaFloatingRateOption getRateOption()
      Description copied from interface: Observable
      Specifies a floating rate index and tenor.
      Specified by:
      getRateOption in interface Observable
    • getCommodity

      @RosettaAttribute("commodity") @RuneAttribute("commodity") @RuneScopedAttributeKey public FieldWithMetaCommodity getCommodity()
      Description copied from interface: Observable
      Identifies a commodity by referencing a product identifier.
      Specified by:
      getCommodity in interface Observable
    • getProductIdentifier

      @RosettaAttribute("productIdentifier") @RuneAttribute("productIdentifier") @RuneScopedAttributeKey public List<? extends FieldWithMetaProductIdentifier> getProductIdentifier()
      Description copied from interface: Observable
      Comprises 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:
      getProductIdentifier in interface Observable
    • getCurrencyPair

      @RosettaAttribute("currencyPair") @RuneAttribute("currencyPair") @RuneScopedAttributeKey public FieldWithMetaQuotedCurrencyPair getCurrencyPair()
      Description copied from interface: Observable
      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.
      Specified by:
      getCurrencyPair in interface Observable
    • getOptionReferenceType

      @RosettaAttribute("optionReferenceType") @RuneAttribute("optionReferenceType") public OptionReferenceTypeEnum getOptionReferenceType()
      Description copied from interface: Observable
      The underlying contract which is referenced when determining the final settlement price of the instrument. Eg. Rolling Front Month Future; Spot etc.
      Specified by:
      getOptionReferenceType in interface Observable
    • getMeta

      @RosettaAttribute("meta") @RuneAttribute("meta") @RuneMetaType public com.rosetta.model.metafields.MetaFields getMeta()
      Specified by:
      getMeta in interface com.rosetta.model.lib.GlobalKey
      Specified by:
      getMeta in interface Observable
    • build

      public Observable build()
      Description copied from interface: Observable
      Build Methods
      Specified by:
      build in interface Observable
      Specified by:
      build in interface com.rosetta.model.lib.RosettaModelObject
    • toBuilder

      public Observable.ObservableBuilder toBuilder()
      Specified by:
      toBuilder in interface Observable
      Specified by:
      toBuilder in interface com.rosetta.model.lib.RosettaModelObject
    • setBuilderFields

      protected void setBuilderFields(Observable.ObservableBuilder builder)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object