Venice 0.751beta

nz.org.venice.quote
Class SymbolMetadata

java.lang.Object
  extended bynz.org.venice.quote.SymbolMetadata

public class SymbolMetadata
extends java.lang.Object


Constructor Summary
SymbolMetadata(java.lang.String symbolString, java.lang.String name, boolean index)
           
SymbolMetadata(Symbol symbol, java.lang.String name, boolean index)
          Construct a new index definition.
 
Method Summary
 java.lang.String getName()
          Return the name of the index.
 Symbol getSymbol()
          Return the symbol.
 boolean isIndex()
          Return isIndex.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SymbolMetadata

public SymbolMetadata(Symbol symbol,
                      java.lang.String name,
                      boolean index)
Construct a new index definition.

Parameters:
symbol - The symbol (e.g. 'ASX', or 'DAX')
name - The name of the index (e.g. Australian Stock Exchange)
index - The optional location or top level index (ie NASDAQ, the ASX)

SymbolMetadata

public SymbolMetadata(java.lang.String symbolString,
                      java.lang.String name,
                      boolean index)
Method Detail

getSymbol

public Symbol getSymbol()
Return the symbol.

Returns:
the symbol

getName

public java.lang.String getName()
Return the name of the index.

Returns:
name

isIndex

public boolean isIndex()
Return isIndex.

Returns:
true if the symbol is an index.

toString

public java.lang.String toString()

Venice 0.751beta