Package org.bedework.calfacade.base
Interface AttachmentsEntity
- All Known Subinterfaces:
EventEntity
- All Known Implementing Classes:
BwEvent,BwEventAnnotation,BwEventNewWrapper,BwEventObj,BwEventProxy
public interface AttachmentsEntity
An entity that can have one or more attachments will implement this interface.
- Author:
- douglm
-
Method Summary
Modifier and TypeMethodDescriptionvoidvoidClear all attachmentsReturn a clone of the SetReturn a copy of the SetGet the attendeesintbooleanvoidsetAttachments(Set<BwAttachment> val) Set the attendees Set
-
Method Details
-
setAttachments
Set the attendees Set- Parameters:
val- Set of attachments
-
getAttachments
Set<BwAttachment> getAttachments()Get the attendees- Returns:
- Set attachments list
-
getNumAttachments
int getNumAttachments()- Returns:
- int number of attachments.
-
addAttachment
- Parameters:
val- an attachment
-
removeAttachment
- Parameters:
val- an attachment- Returns:
- boolean true if removed.
-
copyAttachments
Set<BwAttachment> copyAttachments()Return a copy of the Set- Returns:
- Set of BwAttachment
-
cloneAttachments
Set<BwAttachment> cloneAttachments()Return a clone of the Set- Returns:
- Set of BwAttachment
-
clearAttachments
void clearAttachments()Clear all attachments
-