java.lang.Object
com.apptasticsoftware.tickersymbol.TickerSymbol

public class TickerSymbol extends Object
Class representing ticker symbol.
  • Constructor Details

    • TickerSymbol

      public TickerSymbol()
  • Method Details

    • getSymbol

      public String getSymbol()
      Get symbol name or short name for this tickers.
      Returns:
      symbol
    • setSymbol

      public void setSymbol(String symbol)
      Set symbol or short name for this tickers.
      Parameters:
      symbol - symbol
    • getDescription

      public String getDescription()
      Get description of this ticker.
      Returns:
      description
    • setDescription

      public void setDescription(String description)
      Set description of this ticker.
      Parameters:
      description - description
    • getType

      public String getType()
      Get type of instrument.
      Returns:
      type
    • setType

      public void setType(String type)
      Set type of instrument.
      Parameters:
      type - type
    • getCountry

      public String getCountry()
      Get country.
      Returns:
      country
    • setCountry

      public void setCountry(String country)
      Set country.
      Parameters:
      country - country
    • getExchange

      public String getExchange()
      Get exchange.
      Returns:
      exchange
    • setExchange

      public void setExchange(String exchange)
      Set exchange.
      Parameters:
      exchange - exchange
    • getExchangeCountry

      public String getExchangeCountry()
      Get exchange country.
      Returns:
      exchangeCountry
    • setExchangeCountry

      public void setExchangeCountry(String exchangeCountry)
      Set exchange country.
      Parameters:
      exchangeCountry - exchange country
    • getCategory1

      public String getCategory1()
      Get category 1.
      Returns:
      category1
    • setCategory1

      public void setCategory1(String category1)
      Set category 1.
      Parameters:
      category1 - category1
    • getCategory2

      public String getCategory2()
      Get category 2.
      Returns:
      category2
    • setCategory2

      public void setCategory2(String category2)
      Set category 2.
      Parameters:
      category2 - category2
    • getCategory3

      public String getCategory3()
      Get category 3.
      Returns:
      category3
    • setCategory3

      public void setCategory3(String category3)
      Set category 3.
      Parameters:
      category3 - category3
    • getSedol

      public String getSedol()
      Get SEDOL.
      Returns:
      SEDOL
    • setSedol

      public void setSedol(String sedol)
      Set SEDOL.
      Parameters:
      sedol - sedol
    • equals

      public boolean equals(Object o)
      Comparison method.
      Overrides:
      equals in class Object
      Parameters:
      o - other ticker to check if equals
      Returns:
      Returns true if this ticker equals to the given ticker. Otherwise returns false.
    • hashCode

      public int hashCode()
      Calculates hash code for this ticker.
      Overrides:
      hashCode in class Object
      Returns:
      hash code