|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lumis.service.socialnetworkservices.microblog.entity.Post
public class Post
This class represents an user Post on a Microblog.
Field Summary | |
---|---|
static String |
FIND_BY_OWNER_ID
Named Query that finds Posts based on a specified parameter userId . |
Constructor Summary | |
---|---|
Post()
Constructor for JPA. |
|
Post(Date creation,
String userId,
String serviceInstanceId,
String post)
|
Method Summary | |
---|---|
Date |
getCreation()
Sets the date and time of post creation |
String |
getId()
Returns the object-Id |
String |
getOwner()
Gets the id from post owner |
String |
getPost()
Gets the post value, itself. |
String |
getServiceInstanceId()
Gets the service instance ID associated to the post |
void |
setCreation(Date creation)
Sets the date and time of post creation |
void |
setId(String id)
Sets the Id |
void |
setOwner(String owner)
Sets the id from post owner |
void |
setPost(String post)
Sets the post value. |
void |
setServiceInstanceId(String serviceInstanceId)
Sets the service instance ID associated to the post |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String FIND_BY_OWNER_ID
userId
.
Constructor Detail |
---|
public Post()
public Post(Date creation, String userId, String serviceInstanceId, String post)
Method Detail |
---|
public String getId()
public void setId(String id)
public Date getCreation()
public void setCreation(Date creation)
public String getOwner()
public void setOwner(String owner)
public String getServiceInstanceId()
public void setServiceInstanceId(String serviceInstanceId)
public String getPost()
public void setPost(String post)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |