Class Instrument.InstrumentImpl

java.lang.Object
cdm.base.staticdata.asset.common.Instrument.InstrumentImpl
All Implemented Interfaces:
Instrument, com.rosetta.model.lib.RosettaModelObject
Enclosing interface:
Instrument

public static class Instrument.InstrumentImpl extends Object implements Instrument
Immutable Implementation of Instrument
  • Constructor Details

  • Method Details

    • getListedDerivative

      @RosettaAttribute("ListedDerivative") @Accessor(GETTER) @RuneAttribute("ListedDerivative") public ListedDerivative getListedDerivative()
      Description copied from interface: Instrument
      A securitized derivative on another asset that is created by an exchange.
      Specified by:
      getListedDerivative in interface Instrument
    • getLoan

      @RosettaAttribute("Loan") @Accessor(GETTER) @RuneAttribute("Loan") public Loan getLoan()
      Description copied from interface: Instrument
      An Asset that represents a loan or borrow obligation.
      Specified by:
      getLoan in interface Instrument
    • getSecurity

      @RosettaAttribute("Security") @Accessor(GETTER) @RuneAttribute("Security") public Security getSecurity()
      Description copied from interface: Instrument
      An Asset that is issued by a party to be held by or transferred to others.
      Specified by:
      getSecurity in interface Instrument
    • build

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

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

      protected void setBuilderFields(Instrument.InstrumentBuilder 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