|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.tws.objects.types.ModifyData
This utility class wraps the TWS object modify information, including the name of the last user who has modified the object, and the last modification time.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
Copyright. |
Constructor Summary | |
---|---|
ModifyData()
Creates an empty ModifyData object. |
|
ModifyData(java.lang.String user,
java.util.Date time)
Creates a ModifyData object with the specified user name and last modify time. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Returns true if all fields of this ModifyData object are equal to those of the given one. |
java.lang.String |
getModifiedBy()
Returns the name of the last user who has modified the object. |
java.util.Date |
getModifiedTime()
Returns the last time the object was modified. |
int |
hashCode()
Returns a hash code for this ModifyData object. |
void |
set(java.lang.String user,
java.util.Date time)
Sets both the name of the last user who has modified the object and the last time the object was modified. |
void |
setModifiedBy(java.lang.String user)
Sets the name of the last user who has modified the object. |
void |
setModifiedTime(java.util.Date time)
Sets the last time the object was last modified. |
java.lang.String |
toString()
Returns a string representation of this ModifyData object. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String COPYRIGHT
Constructor Detail |
public ModifyData()
public ModifyData(java.lang.String user, java.util.Date time)
user
- The name of the last user who has modified the object.time
- The last time the object was modified.Method Detail |
public java.lang.String getModifiedBy()
public java.util.Date getModifiedTime()
public void setModifiedBy(java.lang.String user)
user
- The name of the last user who has modified the object.public void setModifiedTime(java.util.Date time)
time
- The last time the object was modified.public void set(java.lang.String user, java.util.Date time)
user
- The name of the last user who has modified the object.time
- The last time the object was modified.public boolean equals(java.lang.Object object)
object
- The object to be compared with this one.
public int hashCode()
public java.lang.String toString()
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |