org.squashtest.csp.tm.domain.attachment
Class AttachmentList
java.lang.Object
org.squashtest.csp.tm.domain.attachment.AttachmentList
@Entity
public class AttachmentList
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AttachmentList
public AttachmentList()
getId
public Long getId()
addAttachment
public void addAttachment(Attachment attachment)
removeAttachment
public void removeAttachment(Attachment attachment)
removeAttachment
public void removeAttachment(long attachmentId)
getAttachmentById
public Attachment getAttachmentById(long attachmentId)
hasAttachments
public boolean hasAttachments()
isNotEmpty
public boolean isNotEmpty()
- Identical to
hasAttachments() but can be reached through EL...
- Returns:
getAllAttachments
public Set<Attachment> getAllAttachments()
size
public int size()
Copyright © 2010-2012 Squashtest TM, Squashtest.org. All Rights Reserved.