Class DocumentAttachment

  • All Implemented Interfaces:
    com.hack23.cia.model.common.api.ModelObject, java.io.Serializable

    @Entity(name="DocumentAttachment")
    public class DocumentAttachment
    extends java.lang.Object
    implements com.hack23.cia.model.common.api.ModelObject
    The Class DocumentAttachment.
    See Also:
    Serialized Form
    • Field Detail

      • fileName

        protected java.lang.String fileName
        The file name.
      • fileSize

        protected java.math.BigInteger fileSize
        The file size.
      • fileType

        protected java.lang.String fileType
        The file type.
      • fileUrl

        protected java.lang.String fileUrl
        The file url.
      • hjid

        protected java.lang.Long hjid
        The hjid.
    • Constructor Detail

      • DocumentAttachment

        public DocumentAttachment()
    • Method Detail

      • getFileName

        public java.lang.String getFileName()
        Gets the file name.
        Returns:
        the file name
      • setFileName

        public void setFileName​(java.lang.String value)
        Sets the file name.
        Parameters:
        value - the new file name
      • getFileSize

        public java.math.BigInteger getFileSize()
        Gets the file size.
        Returns:
        the file size
      • setFileSize

        public void setFileSize​(java.math.BigInteger value)
        Sets the file size.
        Parameters:
        value - the new file size
      • getFileType

        public java.lang.String getFileType()
        Gets the file type.
        Returns:
        the file type
      • setFileType

        public void setFileType​(java.lang.String value)
        Sets the file type.
        Parameters:
        value - the new file type
      • getFileUrl

        public java.lang.String getFileUrl()
        Gets the file url.
        Returns:
        the file url
      • setFileUrl

        public void setFileUrl​(java.lang.String value)
        Sets the file url.
        Parameters:
        value - the new file url
      • withFileName

        public DocumentAttachment withFileName​(java.lang.String value)
        With file name.
        Parameters:
        value - the value
        Returns:
        the document attachment
      • withFileSize

        public DocumentAttachment withFileSize​(java.math.BigInteger value)
        With file size.
        Parameters:
        value - the value
        Returns:
        the document attachment
      • withFileType

        public DocumentAttachment withFileType​(java.lang.String value)
        With file type.
        Parameters:
        value - the value
        Returns:
        the document attachment
      • withFileUrl

        public DocumentAttachment withFileUrl​(java.lang.String value)
        With file url.
        Parameters:
        value - the value
        Returns:
        the document attachment
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • getHjid

        public java.lang.Long getHjid()
        Gets the hjid.
        Returns:
        the hjid
      • setHjid

        public void setHjid​(java.lang.Long value)
        Sets the hjid.
        Parameters:
        value - the new hjid
      • equals

        public boolean equals​(java.lang.Object object)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class java.lang.Object