public class Post extends Object implements Serializable
Modifier and Type | Field and Description |
---|---|
static String |
FIND_BY_OWNER_ID
Named Query that finds Posts based on a specified parameter
userId . |
Constructor and Description |
---|
Post()
Constructor for JPA.
|
Post(Date creation,
String userId,
String serviceInstanceId,
String post) |
Modifier and Type | Method and Description |
---|---|
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
|
public static final String FIND_BY_OWNER_ID
userId
.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)
LumisXP 12.0.0.190809 - Copyright © 2006–2019 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.