|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.dtt.ca.history.HistoryItem
public class HistoryItem
This is the base class for object describing the history
Field Summary | |
---|---|
static int |
DISPOSED
constant indicating an item marked as disposed. |
static int |
READ
constant indicating that the item has been read. |
static int |
UNREAD
constant indicating that the item is unread. |
Constructor Summary | |
---|---|
protected |
HistoryItem(int status,
java.util.Date date)
Create an history item. |
Method Summary | |
---|---|
java.util.Date |
getDate()
Informs when the specific item was stored in the history log. |
int |
getStatus()
Get the status of this history item. |
void |
markDisposed()
Mark the item as disposed. |
void |
markRead()
Mark the item as read; |
void |
markUnread()
Mark the item as unread; |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int UNREAD
public static final int READ
public static final int DISPOSED
Constructor Detail |
---|
protected HistoryItem(int status, java.util.Date date)
status
- the status of this item in the history log, either READ, UNREAD, or DISPOSED.date
- the time and date of storage of the item in the history log.Method Detail |
---|
public java.util.Date getDate()
public void markDisposed()
public void markRead()
public void markUnread()
public int getStatus()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |