public class CommonPostListItem extends IdentifiableEntityData implements Serializable
| Constructor and Description |
|---|
CommonPostListItem()
Creates a new instance
|
CommonPostListItem(CommonPostListItem otherBean)
Creates a new instance by cloning the provided instance
|
CommonPostListItem(Long postId,
String text)
Creates a new instance
|
| Modifier and Type | Method and Description |
|---|---|
void |
copy(CommonPostListItem otherBean)
Copies all properties from the argument value object into this value object.
|
Long |
getPostId() |
String |
getText() |
void |
setPostId(Long postId)
Sets the ID of the note
|
void |
setText(String text)
sets the content of the note
|
copy, equals, getId, getProperties, getProperty, hashCode, setId, setPropertypublic CommonPostListItem()
public CommonPostListItem(CommonPostListItem otherBean)
otherBean - the instance to copy from, cannot be nullNullPointerException - if the argument is nullpublic void copy(CommonPostListItem otherBean)
otherBean - the instance to copy frompublic Long getPostId()
public String getText()
public void setPostId(Long postId)
postId - the ID to setpublic void setText(String text)
text - the content to setCopyright © 2019 Communote team. All rights reserved.