Package com.jalios.jcms.recenthistory
Class RecentHistoryEntry
- java.lang.Object
-
- com.jalios.jcms.recenthistory.RecentHistoryEntry
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable
public class RecentHistoryEntry extends java.lang.Object implements java.io.Serializable, java.lang.Comparable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RecentHistoryEntry(java.lang.String id)
RecentHistoryEntry(java.lang.String id, java.util.Date accessDate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(java.lang.Object o)
java.util.Date
getAccessTime()
Accessed date.java.lang.String
getId()
Get the jcms id of the accessed datavoid
setAccessTime(java.util.Date v)
Set the access time.void
setId(java.lang.String v)
Set the id of the accessed data.java.lang.String
toString()
-
-
-
Method Detail
-
getId
public java.lang.String getId()
Get the jcms id of the accessed data- Returns:
- the id of the RecentHistoryEntry
-
getAccessTime
public java.util.Date getAccessTime()
Accessed date.- Returns:
- the access time of the RecentHistoryEntry
-
setId
public void setId(java.lang.String v)
Set the id of the accessed data.- Parameters:
v
-
-
setAccessTime
public void setAccessTime(java.util.Date v)
Set the access time.- Parameters:
v
-
-
compareTo
public int compareTo(java.lang.Object o) throws java.lang.ClassCastException
- Specified by:
compareTo
in interfacejava.lang.Comparable
- Throws:
java.lang.ClassCastException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-