org.apache.geode.cache.query.data

## Class Instrument

- java.lang.Object
- - org.apache.geode.cache.query.data.Instrument

- All Implemented Interfaces:
    java.io.Serializable

      public class Instrument
      extends java.lang.Object
      implements java.io.Serializable

  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `Instrument(java.lang.String id)`

  - ### Method Summary

    All Methods Static Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addTradingLine(TradingLine tl)`
    `java.lang.String` | `getId()`
    `static Instrument` | `getInstrument(java.lang.String id)`
    `java.util.List<TradingLine>` | `getTradingLines()`
    `java.lang.String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### Instrument

          public Instrument(java.lang.String id)

  - ### Method Detail

    - #### getId

          public java.lang.String getId()

    - #### addTradingLine

          public void addTradingLine(TradingLine tl)

    - #### getTradingLines

          public java.util.List<TradingLine> getTradingLines()

    - #### toString

          public java.lang.String toString()

      Overrides:
        `toString` in class `java.lang.Object`

    - #### getInstrument

          public static Instrument getInstrument(java.lang.String id)