FileDocCategorySizeDatePackage
Quote.javaAPI DocExample1316Tue Jan 15 12:07:44 GMT 2002javasoap.book.ch9.clients

Quote

public class Quote extends Object

Fields Summary
String
_symbol
float
_lastPrice
float
_change
String
_timeStamp
long
_volume
Constructors Summary
Methods Summary
public floatget_change()

      return _change;
   
public floatget_lastPrice()

      return _lastPrice;
   
public java.lang.Stringget_symbol()

      return _symbol;
   
public java.lang.Stringget_timeStamp()

      return _timeStamp;
   
public longget_volume()

      return _volume;
   
public voidset_change(float change)

      _change = change;
   
public voidset_lastPrice(float lastPrice)

      _lastPrice = lastPrice;
   
public voidset_symbol(java.lang.String symbol)

      _symbol = symbol;
   
public voidset_timeStamp(java.lang.String timeStamp)

      _timeStamp = timeStamp;
   
public voidset_volume(long volume)

      _volume = volume;
   
public java.lang.StringtoString()

      String result = "Symbol:     " + get_symbol() +
                      "\nLast Price: " + get_lastPrice() +
                      "\nChange:     " + get_change() +
                      "\nTime Stamp: " + get_timeStamp() +
                      "\nVolume:     " + get_volume();
      return result;