Class Observable.ObservableImpl

java.lang.Object
cdm.observable.asset.Observable.ObservableImpl
All Implemented Interfaces:
Observable, com.rosetta.model.lib.RosettaModelObject
Direct Known Subclasses:
BasketConstituent.BasketConstituentImpl
Enclosing interface:
Observable

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

  • Method Details

    • getAsset

      @RosettaAttribute("Asset") @Accessor(GETTER) @RuneAttribute("Asset") public Asset getAsset()
      Description copied from interface: Observable
      The object to be observed is an Asset, ie something that can be owned and transferred in the financial markets.
      Specified by:
      getAsset in interface Observable
    • getBasket

      @RosettaAttribute("Basket") @Accessor(GETTER) @RuneAttribute("Basket") public Basket getBasket()
      Description copied from interface: Observable
      The object to be observed is a Basket, ie a collection of Observables with an identifier and optional weightings.
      Specified by:
      getBasket in interface Observable
    • getIndex

      @RosettaAttribute("Index") @Accessor(GETTER) @RuneAttribute("Index") public Index getIndex()
      Description copied from interface: Observable
      The object to be observed is an Index, ie an observable computed on the prices, rates or valuations of a number of assets.
      Specified by:
      getIndex 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