|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--lcanals.tc.core.Break
Description of a break
Constructor Summary | |
Break()
Builds an empty break description |
Method Summary | |
java.lang.String |
getDescription()
Returnjs the desciprtion, null if none has been said about this break. |
long |
getEndTime()
Returns the milliseconds when the break was ended, -1 if no value has been set. |
long |
getStartTime()
Returns the milliseconds when the break was started, -1 if no value has been set. |
void |
setDescription(java.lang.String description)
Sets the description. |
void |
setEndTime(long time)
Sets the time (in millisecons from 1-1-1970) when the break has been started |
void |
setStartTime(long time)
Sets the time (in millisecons from 1-1-1970) when the break has been started |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Break()
Method Detail |
public long getStartTime()
public long getEndTime()
public java.lang.String getDescription()
public void setStartTime(long time)
IllegalStateException
- if it's called for more than one timepublic void setEndTime(long time)
IllegalStateException
- if it's called for more than one timepublic void setDescription(java.lang.String description)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |