lumis.service.socialnetworkservices.microblog.entity
Class Post

Package class diagram package Post
java.lang.Object
  extended by 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
See Also:
Serialized Form

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

FIND_BY_OWNER_ID

public static final String FIND_BY_OWNER_ID
Named Query that finds Posts based on a specified parameter userId.

See Also:
Constant Field Values
Constructor Detail

Post

public Post()
Constructor for JPA.

Since:
6.1.0

Post

public Post(Date creation,
            String userId,
            String serviceInstanceId,
            String post)
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


Lumisportal  6.2.0.120405 - Copyright © 2006–2012 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.