public class FormAttachmentModel extends Object implements Serializable
Constructor and Description |
---|
FormAttachmentModel(Attachment attachment) |
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)
attachment
- 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 © 2021 XIMA MEDIA GmbH. All rights reserved.