public class Comment extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
NAMED_QUERY_DELETE_COMMENTS_BY_SERVICEINSTANCEID |
protected static String |
NAMED_QUERY_FIND_COMMENTS_BY_ITEMID |
protected static String |
NAMED_QUERY_FIND_COMMENTS_BY_ITEMID_AND_SERVICEINSTANCEID |
protected static String |
NAMED_QUERY_FIND_COUNT_COMMENTS_BY_ITEMID_AND_SERVICEINSTANCEID |
Constructor and Description |
---|
Comment() |
Modifier and Type | Method and Description |
---|---|
Date |
getCommentDate()
Returns this comment's creation date.
|
String |
getCommentText()
Returns this comment's text.
|
String |
getId()
Returns this comment's identifier.
|
String |
getItemId()
Returns the identifier of the entity which this comment is related.
|
String |
getItemName()
Returns the title of the entity which this comment is related.
|
String |
getItemServiceInstanceId()
Returns the identifier of the service instance from the entity which this comment is related.
|
String |
getItemUrl()
Returns the URL to the details page of entity which this comment is related.
|
String |
getServiceInstanceId()
Returns the identifier of the service instance from this comment.
|
String |
getUserId()
Returns the identifier of the user which created this comment.
|
void |
setCommentText(String commentText)
Sets this comment's text.
|
void |
setId(String id)
Sets this comment's identifier.
|
void |
setItemId(String itemId)
Sets the identifier of the entity which this comment is related.
|
void |
setItemName(String itemName)
Sets the title of the entity which this comment is related.
|
void |
setItemServiceInstanceId(String itemServiceInstanceId)
Sets the identifier of the service instance from the entity which this comment is related.
|
void |
setItemUrl(String itemUrl)
Sets the URL to the details page of entity which this comment is related.
|
void |
setServiceInstanceId(String serviceInstanceId)
Sets the identifier of the service instance from this comment.
|
void |
setUserId(String userId)
Sets the identifier of the user which created this comment.
|
protected static final String NAMED_QUERY_FIND_COMMENTS_BY_ITEMID
protected static final String NAMED_QUERY_DELETE_COMMENTS_BY_SERVICEINSTANCEID
protected static final String NAMED_QUERY_FIND_COMMENTS_BY_ITEMID_AND_SERVICEINSTANCEID
protected static final String NAMED_QUERY_FIND_COUNT_COMMENTS_BY_ITEMID_AND_SERVICEINSTANCEID
public String getId()
public void setId(String id)
id
- the identifier value to set.public String getServiceInstanceId()
public void setServiceInstanceId(String serviceInstanceId)
serviceInstanceId
- the service instance identifier value to set.public String getItemId()
public void setItemId(String itemId)
itemId
- the entity's identifier value to set.public String getItemName()
public void setItemName(String itemName)
itemName
- the entity's title value to set.public String getItemServiceInstanceId()
public void setItemServiceInstanceId(String itemServiceInstanceId)
itemServiceInstanceId
- the entity's service instance identifier value to set.public String getItemUrl()
public void setItemUrl(String itemUrl)
itemUrl
- the entity's details page URL value to set.public String getCommentText()
public void setCommentText(String commentText)
commentText
- the text value to set.public Date getCommentDate()
public String getUserId()
public void setUserId(String userId)
userId
- the user's identifier value to set.LumisXP 12.5.0.200928 - Copyright © 2006–2020 Lumis EIP Tecnologia da Informação LTDA. All Rights Reserved.