org.jbpm.task
Class Comment

java.lang.Object
  extended by org.jbpm.task.Comment
All Implemented Interfaces:
Externalizable, Serializable

@Entity
public class Comment
extends Object
implements Externalizable

See Also:
Serialized Form

Constructor Summary
Comment()
           
 
Method Summary
 boolean equals(Object obj)
           
 Date getAddedAt()
           
 User getAddedBy()
           
 Long getId()
           
 String getText()
           
 int hashCode()
           
 void readExternal(ObjectInput in)
           
 void setAddedAt(Date addedDate)
           
 void setAddedBy(User addedBy)
           
 void setId(long id)
           
 void setText(String text)
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Comment

public Comment()
Method Detail

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

getId

public Long getId()

setId

public void setId(long id)

getText

public String getText()

setText

public void setText(String text)

getAddedAt

public Date getAddedAt()

setAddedAt

public void setAddedAt(Date addedDate)

getAddedBy

public User getAddedBy()

setAddedBy

public void setAddedBy(User addedBy)

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2001-2012 JBoss by Red Hat. All Rights Reserved.