public class JaxbComment extends Object implements org.kie.api.task.model.Comment
| Constructor and Description |
|---|
JaxbComment() |
JaxbComment(org.kie.api.task.model.Comment comment) |
JaxbComment(String userId,
Date commentDate,
String commentText) |
| Modifier and Type | Method and 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) |
public JaxbComment()
public JaxbComment(org.kie.api.task.model.Comment comment)
protected void initialize(org.kie.api.task.model.Comment comment)
public Long getId()
getId in interface org.kie.api.task.model.Commentpublic String getText()
getText in interface org.kie.api.task.model.Commentpublic org.kie.api.task.model.User getAddedBy()
getAddedBy in interface org.kie.api.task.model.Commentpublic String getAddedById()
public Date getAddedAt()
getAddedAt in interface org.kie.api.task.model.Commentpublic void setAddedAt(Date commentDate)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionCopyright © 2001–2020 JBoss by Red Hat. All rights reserved.