public class DiaryItem extends Object implements Cloneable, Serializable
DiaryItem
class is used to retrieve information about change diary fields.Constructor and Description |
---|
DiaryItem(String user,
String text,
Timestamp ts) |
Modifier and Type | Method and Description |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self.
|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
String |
getText()
Returns the contents of diary item.
|
Timestamp |
getTimestamp()
Returns the timestamp of the diary item.
|
String |
getUser()
Returns
String the user name of the diary item. |
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
String |
toString()
Returns a string description of the object.
|
public Timestamp getTimestamp()
public String getText()
public Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public String toString()
public int hashCode()
public boolean equals(Object obj)
? Copyright 2013 BMC Software, Inc.