Class Post
- java.lang.Object
-
- lumis.service.socialnetworkservices.microblog.entity.Post
-
- All Implemented Interfaces:
java.io.Serializable
public class Post extends java.lang.Object implements java.io.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 java.lang.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 java.util.Date
getCreation()
Sets the date and time of post creationjava.lang.String
getId()
Returns the object-Idjava.lang.String
getOwner()
Gets the id from post ownerjava.lang.String
getPost()
Gets the post value, itself.java.lang.String
getServiceInstanceId()
Gets the service instance ID associated to the postvoid
setCreation(java.util.Date creation)
Sets the date and time of post creationvoid
setId(java.lang.String id)
Sets the Idvoid
setOwner(java.lang.String owner)
Sets the id from post ownervoid
setPost(java.lang.String post)
Sets the post value.void
setServiceInstanceId(java.lang.String serviceInstanceId)
Sets the service instance ID associated to the post
-
-
-
Field Detail
-
FIND_BY_OWNER_ID
public static final java.lang.String FIND_BY_OWNER_ID
Named Query that finds Posts based on a specified parameteruserId
.- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
Returns the object-Id- Since:
- 6.1.0
-
setId
public void setId(java.lang.String id)
Sets the Id- Since:
- 6.1.0
-
getCreation
public java.util.Date getCreation()
Sets the date and time of post creation- Since:
- 6.1.0
-
setCreation
public void setCreation(java.util.Date creation)
Sets the date and time of post creation- Since:
- 6.1.0
-
getOwner
public java.lang.String getOwner()
Gets the id from post owner- Since:
- 6.1.0
-
setOwner
public void setOwner(java.lang.String owner)
Sets the id from post owner- Since:
- 6.1.0
-
getServiceInstanceId
public java.lang.String getServiceInstanceId()
Gets the service instance ID associated to the post- Since:
- 6.1.0
-
setServiceInstanceId
public void setServiceInstanceId(java.lang.String serviceInstanceId)
Sets the service instance ID associated to the post- Since:
- 6.1.0
-
getPost
public java.lang.String getPost()
Gets the post value, itself.- Returns:
- the post
- Since:
- 6.1.0
-
setPost
public void setPost(java.lang.String post)
Sets the post value.- Since:
- 6.1.0
-
-