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 DategetAddedAt()org.kie.api.task.model.UsergetAddedBy()StringgetAddedById()LonggetId()StringgetText()protected voidinitialize(org.kie.api.task.model.Comment comment)voidreadExternal(ObjectInput in)voidsetAddedAt(Date commentDate)voidwriteExternal(ObjectOutput out)
-
-
-
Method Detail
-
initialize
protected void initialize(org.kie.api.task.model.Comment comment)
-
getId
public Long getId()
- Specified by:
getIdin interfaceorg.kie.api.task.model.Comment
-
getText
public String getText()
- Specified by:
getTextin interfaceorg.kie.api.task.model.Comment
-
getAddedBy
public org.kie.api.task.model.User getAddedBy()
- Specified by:
getAddedByin interfaceorg.kie.api.task.model.Comment
-
getAddedById
public String getAddedById()
-
getAddedAt
public Date getAddedAt()
- Specified by:
getAddedAtin interfaceorg.kie.api.task.model.Comment
-
setAddedAt
public void setAddedAt(Date commentDate)
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-