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 intcompareTo(java.lang.Object o)java.util.DategetAccessTime()Accessed date.java.lang.StringgetId()Get the jcms id of the accessed datavoidsetAccessTime(java.util.Date v)Set the access time.voidsetId(java.lang.String v)Set the id of the accessed data.java.lang.StringtoString()
-
-
-
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:
compareToin interfacejava.lang.Comparable- Throws:
java.lang.ClassCastException
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-