com.exponto.jstock
Class TickerID
java.lang.Object
|
+--com.exponto.jstock.TickerID
- public class TickerID
- extends java.lang.Object
Container that uniquly identifies a ticker
- Author:
- kaare
Constructor Summary |
TickerID()
|
TickerID(int t,
java.lang.String tN,
java.lang.String eN)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
TickerID
public TickerID()
TickerID
public TickerID(int t,
java.lang.String tN,
java.lang.String eN)
getExchangeName
public java.lang.String getExchangeName()
- Returns:
- the exchange name
getTickerId
public int getTickerId()
- Returns:
- the Identity of the ticker as used by the database.
The naming might be a bit confusing...
getTickerName
public java.lang.String getTickerName()
- Returns:
- the ticker name
setExchangeName
public void setExchangeName(java.lang.String string)
- Parameters:
string
- the exchange name
setTickerId
public void setTickerId(int i)
- Parameters:
i
- the ticker identity as used by the database
setTickerName
public void setTickerName(java.lang.String string)
- Parameters:
string
- the ticker name
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
toDebugString
public java.lang.String toDebugString()
Copyright © 2004 Kaare Ranum