org.jbpm.pvm.internal.history.model
Class HistoryCommentImpl

java.lang.Object
  extended by org.jbpm.pvm.internal.history.model.HistoryDetailImpl
      extended by org.jbpm.pvm.internal.history.model.HistoryCommentImpl
All Implemented Interfaces:
java.io.Serializable, HistoryComment, HistoryDetail

public class HistoryCommentImpl
extends HistoryDetailImpl
implements HistoryComment

Author:
Tom Baeyens
See Also:
Serialized Form

Field Summary
protected  java.lang.String message
           
protected  java.util.List<HistoryCommentImpl> replies
           
 
Fields inherited from class org.jbpm.pvm.internal.history.model.HistoryDetailImpl
dbid, dbversion, historyActivityInstance, historyActivityInstanceIndex, historyProcessInstance, historyProcessInstanceIndex, historyTask, historyTaskIndex, historyVariable, historyVariableIndex, time, userId
 
Constructor Summary
HistoryCommentImpl()
           
HistoryCommentImpl(java.lang.String message)
           
 
Method Summary
 HistoryCommentImpl createReply(java.lang.String message)
           
 java.lang.String getMessage()
           
 java.util.List<? extends HistoryComment> getReplies()
           
 void setMessage(java.lang.String message)
           
 java.lang.String toString()
           
 
Methods inherited from class org.jbpm.pvm.internal.history.model.HistoryDetailImpl
equals, getDbid, getId, getTime, getUserId, setHistoryActivityInstance, setHistoryProcessInstance, setHistoryTask, setHistoryVariable, setTime, setUserId
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.jbpm.api.history.HistoryDetail
getId, getTime, getUserId
 

Field Detail

message

protected java.lang.String message

replies

protected java.util.List<HistoryCommentImpl> replies
Constructor Detail

HistoryCommentImpl

public HistoryCommentImpl()

HistoryCommentImpl

public HistoryCommentImpl(java.lang.String message)
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

createReply

public HistoryCommentImpl createReply(java.lang.String message)

getReplies

public java.util.List<? extends HistoryComment> getReplies()
Specified by:
getReplies in interface HistoryComment

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface HistoryComment

setMessage

public void setMessage(java.lang.String message)


Copyright © 2010 JBoss Community. All Rights Reserved.