Class PostAttachment
- java.lang.Object
-
- lumis.service.socialnetworkservices.microblog.entity.PostAttachment
-
- All Implemented Interfaces:
java.io.Serializable
public class PostAttachment extends java.lang.Object implements java.io.Serializable
This class contains information about a file attached to a User Post.- Since:
- 6.1.0
- Version:
- $Revision$ $Date$
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.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 java.lang.String
getFileId()
Gets the FileId associated to this attachment.java.lang.String
getId()
Returns the Idjava.lang.String
getPostId()
Gets the PostId associated to this attachment.java.lang.String
getServiceInstanceId()
Gets the service instance ID associated to the postvoid
setFileId(java.lang.String fileId)
Sets the FileId associated to this attachment.void
setId(java.lang.String id)
Sets the Idvoid
setPostId(java.lang.String postId)
Sets the PostId associated to this attachment.void
setServiceInstanceId(java.lang.String serviceInstanceId)
Sets the service instance ID associated to the post
-
-
-
Field Detail
-
FIND_BY_POST_ID
public static final java.lang.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 java.lang.String getId()
Returns the Id- Returns:
- the id
- Since:
- 6.1.0
-
setId
public void setId(java.lang.String id)
Sets the Id- Since:
- 6.1.0
-
getPostId
public java.lang.String getPostId()
Gets the PostId associated to this attachment.- Returns:
- the PostId
- Since:
- 6.1.0
-
setPostId
public void setPostId(java.lang.String postId)
Sets the PostId associated to this attachment.- Since:
- 6.1.0
-
getFileId
public java.lang.String getFileId()
Gets the FileId associated to this attachment.- Returns:
- Since:
- 6.1.0
-
setFileId
public void setFileId(java.lang.String fileId)
Sets the FileId associated to this attachment.- Since:
- 6.1.0
-
getServiceInstanceId
public java.lang.String getServiceInstanceId()
Gets the service instance ID associated to the post- Returns:
- 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
-
-