org.ceryle.wiki.plugin.ticker
Class Quote

java.lang.Object
  extended by org.ceryle.wiki.plugin.ticker.Quote

public class Quote
extends Object

Quote is a simple data holder for use in the caching mechanism.

Author:
John Volkar (john.volkar at gmail.com)

Constructor Summary
Quote(String symbol, String value)
          Basic constructor...
 
Method Summary
 String getSymbol()
          Getter...
 String getValue()
          Getter...
 void update(String newValue)
          Update the value and freshen the expiration time stamp.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Quote

public Quote(String symbol,
             String value)
Basic constructor...

Parameters:
symbol -
value -
Method Detail

getSymbol

public String getSymbol()
Getter...

Returns:
String

getValue

public String getValue()
Getter...

Returns:
String

update

public void update(String newValue)
Update the value and freshen the expiration time stamp.

Parameters:
newValue -


The Ceryle Project. Copyright ©2001-2007 Murray Altheim, All Rights Reserved. See LICENSE included with distribution.