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 Details

    • setAttachments

      void setAttachments(Set<BwAttachment> val)
      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

      void addAttachment(BwAttachment val)
      Parameters:
      val - an attachment
    • removeAttachment

      boolean removeAttachment(BwAttachment val)
      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