Package de.xima.fc.gui.common.model
Class FormAttachmentModel
- java.lang.Object
 - 
- de.xima.fc.gui.common.model.FormAttachmentModel
 
 
- 
- All Implemented Interfaces:
 Serializable
public class FormAttachmentModel extends Object implements Serializable
- Author:
 - XIMA MEDIA GmbH
 - See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description FormAttachmentModel(Attachment attachment) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AttachmentgetAttachment()intgetFileSize()org.primefaces.model.StreamedContentgetStreamedContent()StringgetStyleClass()booleanisImageFile()booleanisSelected()voidsetAttachment(Attachment attachment)voidsetSelected(boolean isSelected) 
 - 
 
- 
- 
Constructor Detail
- 
FormAttachmentModel
public FormAttachmentModel(Attachment attachment)
- Parameters:
 attachment- theAttachment
 
 - 
 
- 
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()
 
 - 
 
 -