Class 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 Detail

      • FIND_BY_POST_ID

        public static final String FIND_BY_POST_ID
        Named Query that finds Post attachments based on a specified parameter postId.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PostAttachment

        public PostAttachment()
    • 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