Class PostAttachment
- java.lang.Object
-
- lumis.service.socialnetworkservices.microblog.entity.PostAttachment
-
- All Implemented Interfaces:
Serializable
public class PostAttachment extends Object implements Serializable
This class contains information about a file attached to a User Post.- 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_POST_ID
Named Query that finds Post attachments based on a specified parameterpostId
.
-
Constructor Summary
Constructors Constructor Description PostAttachment()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getFileId()
Gets the FileId associated to this attachment.String
getId()
Returns the IdString
getPostId()
Gets the PostId associated to this attachment.String
getServiceInstanceId()
Gets the service instance ID associated to the postvoid
setFileId(String fileId)
Sets the FileId associated to this attachment.void
setId(String id)
Sets the Idvoid
setPostId(String postId)
Sets the PostId associated to this attachment.void
setServiceInstanceId(String serviceInstanceId)
Sets the service instance ID associated to the post
-
-
-
Field Detail
-
FIND_BY_POST_ID
public static final String FIND_BY_POST_ID
Named Query that finds Post attachments based on a specified parameterpostId
.- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public String getId()
Returns the Id- Returns:
- the id
- Since:
- 6.1.0
-
setId
public void setId(String id)
Sets the Id- Since:
- 6.1.0
-
getPostId
public String getPostId()
Gets the PostId associated to this attachment.- Returns:
- the PostId
- Since:
- 6.1.0
-
setPostId
public void setPostId(String postId)
Sets the PostId associated to this attachment.- Since:
- 6.1.0
-
getFileId
public String getFileId()
Gets the FileId associated to this attachment.- Returns:
- Since:
- 6.1.0
-
setFileId
public void setFileId(String fileId)
Sets the FileId associated to this attachment.- Since:
- 6.1.0
-
getServiceInstanceId
public String getServiceInstanceId()
Gets the service instance ID associated to the post- Returns:
- Since:
- 6.1.0
-
setServiceInstanceId
public void setServiceInstanceId(String serviceInstanceId)
Sets the service instance ID associated to the post- Since:
- 6.1.0
-
-