Class Post
- java.lang.Object
-
- lumis.service.socialnetworkservices.microblog.entity.Post
-
- All Implemented Interfaces:
Serializable
public class Post extends Object implements Serializable
This class represents an user Post on a Microblog.- Since:
- 6.1.0
- Version:
- $Revision: 13752 $ $Date: 2011-10-13 14:10:51 -0300 (Thu, 13 Oct 2011) $
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static String
FIND_BY_OWNER_ID
Named Query that finds Posts based on a specified parameteruserId
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Date
getCreation()
Sets the date and time of post creationString
getId()
Returns the object-IdString
getOwner()
Gets the id from post ownerString
getPost()
Gets the post value, itself.String
getServiceInstanceId()
Gets the service instance ID associated to the postvoid
setCreation(Date creation)
Sets the date and time of post creationvoid
setId(String id)
Sets the Idvoid
setOwner(String owner)
Sets the id from post ownervoid
setPost(String post)
Sets the post value.void
setServiceInstanceId(String serviceInstanceId)
Sets the service instance ID associated to the post
-
-
-
Field Detail
-
FIND_BY_OWNER_ID
public static final String FIND_BY_OWNER_ID
Named Query that finds Posts based on a specified parameteruserId
.- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
Returns the object-Id- Since:
- 6.1.0
-
setId
public void setId(String id)
Sets the Id- Since:
- 6.1.0
-
getCreation
public Date getCreation()
Sets the date and time of post creation- Since:
- 6.1.0
-
setCreation
public void setCreation(Date creation)
Sets the date and time of post creation- Since:
- 6.1.0
-
getOwner
public String getOwner()
Gets the id from post owner- Since:
- 6.1.0
-
setOwner
public void setOwner(String owner)
Sets the id from post owner- Since:
- 6.1.0
-
getServiceInstanceId
public String getServiceInstanceId()
Gets the service instance ID associated to the post- Since:
- 6.1.0
-
setServiceInstanceId
public void setServiceInstanceId(String serviceInstanceId)
Sets the service instance ID associated to the post- Since:
- 6.1.0
-
getPost
public String getPost()
Gets the post value, itself.- Returns:
- the post
- Since:
- 6.1.0
-
setPost
public void setPost(String post)
Sets the post value.- Since:
- 6.1.0
-
-