public class RecentlyUsedTemplateBean extends java.lang.Object implements java.io.Serializable, java.lang.Comparable<RecentlyUsedTemplateBean>
Constructor and Description |
---|
RecentlyUsedTemplateBean() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(RecentlyUsedTemplateBean other)
Compares this object with the specified object for order.
|
boolean |
equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one.
|
java.lang.String |
getId()
Return id.
|
java.lang.String |
getPath()
Return path.
|
java.sql.Timestamp |
getTimestamp()
Return timestamp.
|
int |
hashCode()
Returns a hash code value for the object.
|
void |
setId(java.lang.String id)
Set id.
|
void |
setPath(java.lang.String path)
Set path.
|
void |
setTimestamp(java.sql.Timestamp timestamp)
Set timestamp.
|
public java.lang.String getId()
public void setId(java.lang.String id)
id
- the id to setpublic java.sql.Timestamp getTimestamp()
public void setTimestamp(java.sql.Timestamp timestamp)
timestamp
- the timestamp to setpublic java.lang.String getPath()
public void setPath(java.lang.String path)
path
- the path to setpublic int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- the reference object with which to compare.true
if this object is the same as the obj argument; false
otherwise.public int compareTo(RecentlyUsedTemplateBean other)
compareTo
in interface java.lang.Comparable<RecentlyUsedTemplateBean>
other
- other objectComparable.compareTo(java.lang.Object)