Class JaxbComment
- java.lang.Object
-
- org.jbpm.services.task.impl.model.xml.JaxbComment
-
- All Implemented Interfaces:
Externalizable
,Serializable
,org.kie.api.task.model.Comment
public class JaxbComment extends Object implements org.kie.api.task.model.Comment
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description JaxbComment()
JaxbComment(String userId, Date commentDate, String commentText)
JaxbComment(org.kie.api.task.model.Comment comment)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getAddedAt()
org.kie.api.task.model.User
getAddedBy()
String
getAddedById()
Long
getId()
String
getText()
protected void
initialize(org.kie.api.task.model.Comment comment)
void
readExternal(ObjectInput in)
void
setAddedAt(Date commentDate)
void
writeExternal(ObjectOutput out)
-
-
-
Method Detail
-
initialize
protected void initialize(org.kie.api.task.model.Comment comment)
-
getId
public Long getId()
- Specified by:
getId
in interfaceorg.kie.api.task.model.Comment
-
getText
public String getText()
- Specified by:
getText
in interfaceorg.kie.api.task.model.Comment
-
getAddedBy
public org.kie.api.task.model.User getAddedBy()
- Specified by:
getAddedBy
in interfaceorg.kie.api.task.model.Comment
-
getAddedById
public String getAddedById()
-
getAddedAt
public Date getAddedAt()
- Specified by:
getAddedAt
in interfaceorg.kie.api.task.model.Comment
-
setAddedAt
public void setAddedAt(Date commentDate)
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternal
in interfaceExternalizable
- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternal
in interfaceExternalizable
- Throws:
IOException
ClassNotFoundException
-
-