Class Index.IndexImpl

java.lang.Object
cdm.observable.asset.Index.IndexImpl
All Implemented Interfaces:
Index, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
Index

public static class Index.IndexImpl extends Object implements Index
Immutable Implementation of Index
  • Constructor Details

  • Method Details

    • getCreditIndex

      @RosettaAttribute("CreditIndex") @Accessor(GETTER) @RuneAttribute("CreditIndex") public CreditIndex getCreditIndex()
      Description copied from interface: Index
      An index based on credit risk, typically composed using corporate debt instruments in a region or industry sector, e.g. the iTraxx indices.
      Specified by:
      getCreditIndex in interface Index
    • getEquityIndex

      @RosettaAttribute("EquityIndex") @Accessor(GETTER) @RuneAttribute("EquityIndex") public EquityIndex getEquityIndex()
      Description copied from interface: Index
      An index based on equity securities, e.g. the S&P 500.
      Specified by:
      getEquityIndex in interface Index
    • getInterestRateIndex

      @RosettaAttribute("InterestRateIndex") @Accessor(GETTER) @RuneAttribute("InterestRateIndex") @RuneScopedAttributeKey public FieldWithMetaInterestRateIndex getInterestRateIndex()
      Description copied from interface: Index
      An index based in interest rates or inflation rates in a certain market.
      Specified by:
      getInterestRateIndex in interface Index
    • getForeignExchangeRateIndex

      @RosettaAttribute("ForeignExchangeRateIndex") @Accessor(GETTER) @RuneAttribute("ForeignExchangeRateIndex") public ForeignExchangeRateIndex getForeignExchangeRateIndex()
      Description copied from interface: Index
      A rate based on the exchange of a pair of cash assets in specific currencies, e.g. USD versus GBP.
      Specified by:
      getForeignExchangeRateIndex in interface Index
    • getOtherIndex

      @RosettaAttribute("OtherIndex") @Accessor(GETTER) @RuneAttribute("OtherIndex") public OtherIndex getOtherIndex()
      Description copied from interface: Index
      An index created by a market participant which doesn't align with the other index types.
      Specified by:
      getOtherIndex in interface Index
    • build

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

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

      protected void setBuilderFields(Index.IndexBuilder 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