Purple Code

com.purpletech.graph.tick
Class BasicTick

java.lang.Object
  |
  +--com.purpletech.graph.tick.BasicTick
All Implemented Interfaces:
Tick

public class BasicTick
extends java.lang.Object
implements Tick


Field Summary
protected  java.util.Date endTime
           
protected  int finish
           
protected  int high
           
protected  int low
           
protected  int start
           
protected  java.util.Date startTime
           
protected  int volume
           
 
Constructor Summary
BasicTick(int start, int finish, int high, int low, int volume, java.util.Date startTime, java.util.Date endTime)
           
 
Method Summary
 java.util.Date getEndTime()
          exclusive
 int getFinish()
          ending price
 int getHigh()
          high price during interval
 int getLow()
          low price during interval
 int getStart()
          starting price
 java.util.Date getStartTime()
          inclusive
 int getVolume()
           
 void setEndTime(java.util.Date when)
          exclusive
 void setFinish(int Finish)
          ending price
 void setHigh(int High)
          high price during interval
 void setLow(int Low)
          low price during interval
 void setStart(int Start)
          starting price
 void setStartTime(java.util.Date when)
          inclusive
 void setVolume(int v)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

start

protected int start

finish

protected int finish

high

protected int high

low

protected int low

volume

protected int volume

startTime

protected java.util.Date startTime

endTime

protected java.util.Date endTime
Constructor Detail

BasicTick

public BasicTick(int start,
                 int finish,
                 int high,
                 int low,
                 int volume,
                 java.util.Date startTime,
                 java.util.Date endTime)
Method Detail

getStart

public int getStart()
starting price

Specified by:
getStart in interface Tick

getFinish

public int getFinish()
ending price

Specified by:
getFinish in interface Tick

getHigh

public int getHigh()
high price during interval

Specified by:
getHigh in interface Tick

getLow

public int getLow()
low price during interval

Specified by:
getLow in interface Tick

getStartTime

public java.util.Date getStartTime()
inclusive

Specified by:
getStartTime in interface Tick

getEndTime

public java.util.Date getEndTime()
exclusive

Specified by:
getEndTime in interface Tick

setStart

public void setStart(int Start)
starting price


setFinish

public void setFinish(int Finish)
ending price


setHigh

public void setHigh(int High)
high price during interval


setLow

public void setLow(int Low)
low price during interval


setStartTime

public void setStartTime(java.util.Date when)
inclusive


setEndTime

public void setEndTime(java.util.Date when)
exclusive


getVolume

public int getVolume()
Specified by:
getVolume in interface Tick

setVolume

public void setVolume(int v)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Documentation generated March 5 2003