|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.service.socialnetworkservices.microblog.entity.Comment
public class Comment
This class represents an user Comment on a Microblog.
Field Summary | |
---|---|
static String |
FIND_BY_AUTHOR_ID
Name of named query to retrieve a list of comments by its author. |
static String |
FIND_BY_POST_ID
Name of named query to retrieve a list of comments by its associated post. |
Constructor Summary | |
---|---|
Comment()
Constructor for JPA. |
|
Comment(String comment,
String authorId,
String postId,
String serviceInstanceId)
|
Method Summary | |
---|---|
String |
getAuthor()
Returns the ownerId. |
String |
getComment()
Returns the comment. |
Date |
getCreation()
Returns the creation. |
String |
getId()
Returns the id. |
String |
getPostId()
Returns the postId. |
Boolean |
getRemoved()
Returns the removed. |
String |
getServiceInstanceId()
Returns the serviceInstanceId. |
void |
setAuthor(String author)
Sets the ownerId. |
void |
setComment(String comment)
Sets the comment. |
void |
setCreation(Date creation)
Sets the creation. |
void |
setId(String id)
Sets the id. |
void |
setPostId(String postId)
Sets the postId. |
void |
setRemoved(Boolean removed)
Sets the removed. |
void |
setServiceInstanceId(String serviceInstanceId)
Sets the serviceInstanceId. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String FIND_BY_AUTHOR_ID
authorId
public static final String FIND_BY_POST_ID
postId
Constructor Detail |
---|
public Comment()
public Comment(String comment, String authorId, String postId, String serviceInstanceId)
Method Detail |
---|
public String getId()
public void setId(String id)
id
- the id value to set.public String getComment()
public void setComment(String comment)
comment
- the comment value to set.public String getAuthor()
public void setAuthor(String author)
author
- the ownerId value to set.public String getPostId()
public void setPostId(String postId)
postId
- the postId value to set.public String getServiceInstanceId()
public void setServiceInstanceId(String serviceInstanceId)
serviceInstanceId
- the serviceInstanceId value to set.public Date getCreation()
public void setCreation(Date creation)
creation
- the creation value to set.public Boolean getRemoved()
public void setRemoved(Boolean removed)
removed
- the removed value to set.public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |