java.lang.Object
com.hack23.cia.model.external.riksdagen.dokumentstatus.impl.DocumentAttachment
All Implemented Interfaces:
com.hack23.cia.model.common.api.ModelObject, Serializable

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

    • fileName

      protected String fileName
      The file name.
    • fileSize

      protected BigInteger fileSize
      The file size.
    • fileType

      protected String fileType
      The file type.
    • fileUrl

      protected String fileUrl
      The file url.
    • hjid

      protected Long hjid
      The hjid.
  • Constructor Details

    • DocumentAttachment

      public DocumentAttachment()
  • Method Details

    • getFileName

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

      public boolean equals(Object object)
      Overrides:
      equals in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object