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.Comment
public String getText()
getText
in interface org.kie.api.task.model.Comment
public org.kie.api.task.model.User getAddedBy()
getAddedBy
in interface org.kie.api.task.model.Comment
public String getAddedById()
public Date getAddedAt()
getAddedAt
in interface org.kie.api.task.model.Comment
public void setAddedAt(Date commentDate)
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
IOException
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
IOException
ClassNotFoundException
Copyright © 2001–2018 JBoss by Red Hat. All rights reserved.