Class FormAttachmentModel

    • Constructor Detail

      • FormAttachmentModel

        public FormAttachmentModel​(Attachment attachment)
        Parameters:
        attachment - the Attachment
    • Method Detail

      • getAttachment

        public Attachment getAttachment()
        Returns:
        the attachment
      • setAttachment

        public void setAttachment​(Attachment attachment)
        Parameters:
        attachment - the attachment to set
      • getStreamedContent

        public org.primefaces.model.StreamedContent getStreamedContent()
        Returns:
        the streamedContent
      • isSelected

        public boolean isSelected()
        Returns:
        the isSelected
      • setSelected

        public void setSelected​(boolean isSelected)
        Parameters:
        isSelected - the isSelected to set
      • isImageFile

        public boolean isImageFile()
        Returns:
        the isImageFile
      • getFileSize

        public int getFileSize()
        Returns:
        the displayFileSize
      • getStyleClass

        public String getStyleClass()