|
SalesPoint Framework v3.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--sale.Step
This class is an implementation of the Time interface. A Long value is used to represent the time.
Constructor Summary | |
Step()
Creates a new step with default starting time 0. |
|
Step(Long lInitTime)
Creates a new step with the given long value as the starting time. |
Method Summary | |
Object |
getDefaultInterval()
Get the default time interval. |
Object |
getTime()
Get the current time. |
Comparable |
getTimeStamp(long lStampNumber)
Create and return a time stamp. |
void |
goAhead(Object oInterval)
Increase the time by the given interval. |
void |
setTime(Object oTime)
Set the given Long as the new time value. |
String |
toString()
Return the current time. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public Step()
public Step(Long lInitTime)
lInitTime
- a Long: the initial time.Method Detail |
public void setTime(Object oTime) throws IllegalArgumentException
oTime
- the new time value.public Object getTime()
public void goAhead(Object oInterval) throws IllegalArgumentException
oInterval
- the interval to increase time bypublic Object getDefaultInterval()
public Comparable getTimeStamp(long lStampNumber)
lStampNumber
- the number of the stamppublic String toString()
|
SalesPoint Framework v3.0 | |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |