Class 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: 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 java.lang.String FIND_BY_POST_ID
      Named Query that finds Post attachments based on a specified parameter postId.
    • 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 Id
      java.lang.String getPostId()
      Gets the PostId associated to this attachment.
      java.lang.String getServiceInstanceId()
      Gets the service instance ID associated to the post
      void setFileId​(java.lang.String fileId)
      Sets the FileId associated to this attachment.
      void setId​(java.lang.String id)
      Sets the Id
      void 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
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 parameter postId.
        See Also:
        Constant Field Values
    • Constructor Detail

      • PostAttachment

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