@Entity public class AttachmentList extends Object
| Constructor and Description |
|---|
AttachmentList() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttachment(Attachment attachment) |
Set<Attachment> |
getAllAttachments() |
Attachment |
getAttachmentById(long attachmentId) |
Long |
getId() |
boolean |
hasAttachments() |
boolean |
isNotEmpty()
Identical to
hasAttachments() but can be reached through EL... |
void |
removeAttachment(Attachment attachment) |
void |
removeAttachment(long attachmentId) |
int |
size() |
public Long getId()
public void addAttachment(Attachment attachment)
public void removeAttachment(Attachment attachment)
public void removeAttachment(long attachmentId)
public Attachment getAttachmentById(long attachmentId)
public boolean hasAttachments()
public boolean isNotEmpty()
hasAttachments() but can be reached through EL...public Set<Attachment> getAllAttachments()
public int size()
Copyright © 2010–2016 Henix, henix.fr. All rights reserved.