public class FormAttachmentModel extends Object implements Serializable
Constructor and Description |
---|
FormAttachmentModel(Attachment attachment,
org.primefaces.model.StreamedContent streamedContent) |
Modifier and Type | Method and Description |
---|---|
Attachment |
getAttachment() |
int |
getFileSize() |
org.primefaces.model.StreamedContent |
getStreamedContent() |
String |
getStyleClass() |
boolean |
isImageFile() |
boolean |
isSelected() |
void |
setAttachment(Attachment attachment) |
void |
setSelected(boolean isSelected) |
public FormAttachmentModel(Attachment attachment, org.primefaces.model.StreamedContent streamedContent)
attachment
- the Attachment
streamedContent
- the StreamedContent
of the Attachment
public Attachment getAttachment()
public void setAttachment(Attachment attachment)
attachment
- the attachment to setpublic org.primefaces.model.StreamedContent getStreamedContent()
public boolean isSelected()
public void setSelected(boolean isSelected)
isSelected
- the isSelected to setpublic boolean isImageFile()
public int getFileSize()
public String getStyleClass()
Copyright © 2019 XIMA MEDIA GmbH. All rights reserved.