org.opencms.workflow
Class CmsTaskLog

java.lang.Object
  extended byorg.opencms.workflow.CmsTaskLog

public class CmsTaskLog
extends java.lang.Object

Describes an OpenCms task log entry.

Since:
6.0.0
Version:
$Revision: 1.16 $
Author:
Alexander Kandzior

Constructor Summary
CmsTaskLog(int id, java.lang.String comment, CmsUUID userId, java.sql.Timestamp starttime, int type)
          Creates a new CmsTaskLog object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getComment()
          Returns the comment of this task log entry.
 int getId()
          Returns the id of this task log entry.
 java.sql.Timestamp getStartTime()
          Returns the start time of this task log entry.
 int getType()
          Returns the type of this task log entry.
 CmsUUID getUser()
          Returns the user id of this task log entry.
 int hashCode()
           
 void setComment(java.lang.String value)
          Sets the comment of this task log entry.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CmsTaskLog

public CmsTaskLog(int id,
                  java.lang.String comment,
                  CmsUUID userId,
                  java.sql.Timestamp starttime,
                  int type)
Creates a new CmsTaskLog object.

Parameters:
id - the id of the task log
comment - the comment for this task log
userId - the id Of the corresponding user
starttime - the start time for this task log
type - the type for this task log
Method Detail

equals

public boolean equals(java.lang.Object obj)
See Also:
Object.equals(java.lang.Object)

getComment

public java.lang.String getComment()
Returns the comment of this task log entry.

Returns:
the comment of this task log entry

getId

public int getId()
Returns the id of this task log entry.

Returns:
the id of this task log entry

getStartTime

public java.sql.Timestamp getStartTime()
Returns the start time of this task log entry.

Returns:
the start time of this task log entry

getType

public int getType()
Returns the type of this task log entry.

Returns:
the type of this task log entry

getUser

public CmsUUID getUser()
Returns the user id of this task log entry.

Returns:
the user id of this task log entry

hashCode

public int hashCode()
See Also:
Object.hashCode()

setComment

public void setComment(java.lang.String value)
Sets the comment of this task log entry.

Parameters:
value - the comment to set

toString

public java.lang.String toString()
See Also:
Object.toString()