Class TickerSymbol
java.lang.Object
com.apptasticsoftware.tickersymbol.TickerSymbol
Class representing ticker symbol.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Comparison method.Get category 1.Get category 2.Get category 3.Get country.Get description of this ticker.Get exchange.Get exchange country.getSedol()
Get SEDOL.Get symbol name or short name for this tickers.getType()
Get type of instrument.int
hashCode()
Calculates hash code for this ticker.void
setCategory1
(String category1) Set category 1.void
setCategory2
(String category2) Set category 2.void
setCategory3
(String category3) Set category 3.void
setCountry
(String country) Set country.void
setDescription
(String description) Set description of this ticker.void
setExchange
(String exchange) Set exchange.void
setExchangeCountry
(String exchangeCountry) Set exchange country.void
Set SEDOL.void
Set symbol or short name for this tickers.void
Set type of instrument.
-
Constructor Details
-
TickerSymbol
public TickerSymbol()
-
-
Method Details
-
getSymbol
Get symbol name or short name for this tickers.- Returns:
- symbol
-
setSymbol
Set symbol or short name for this tickers.- Parameters:
symbol
- symbol
-
getDescription
Get description of this ticker.- Returns:
- description
-
setDescription
Set description of this ticker.- Parameters:
description
- description
-
getType
Get type of instrument.- Returns:
- type
-
setType
Set type of instrument.- Parameters:
type
- type
-
getCountry
Get country.- Returns:
- country
-
setCountry
Set country.- Parameters:
country
- country
-
getExchange
Get exchange.- Returns:
- exchange
-
setExchange
Set exchange.- Parameters:
exchange
- exchange
-
getExchangeCountry
Get exchange country.- Returns:
- exchangeCountry
-
setExchangeCountry
Set exchange country.- Parameters:
exchangeCountry
- exchange country
-
getCategory1
Get category 1.- Returns:
- category1
-
setCategory1
Set category 1.- Parameters:
category1
- category1
-
getCategory2
Get category 2.- Returns:
- category2
-
setCategory2
Set category 2.- Parameters:
category2
- category2
-
getCategory3
Get category 3.- Returns:
- category3
-
setCategory3
Set category 3.- Parameters:
category3
- category3
-
getSedol
Get SEDOL.- Returns:
- SEDOL
-
setSedol
Set SEDOL.- Parameters:
sedol
- sedol
-
equals
Comparison method. -
hashCode
public int hashCode()Calculates hash code for this ticker.
-