org.squashtest.csp.tm.domain.attachment
Class AttachmentList

java.lang.Object
  extended by org.squashtest.csp.tm.domain.attachment.AttachmentList

@Entity
public class AttachmentList
extends Object


Constructor Summary
AttachmentList()
           
 
Method Summary
 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttachmentList

public AttachmentList()
Method Detail

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.