Interface CommentedEntity

All Known Subinterfaces:
EventEntity
All Known Implementing Classes:
BwEvent, BwEventAnnotation, BwEventNewWrapper, BwEventObj, BwEventProxy

public interface CommentedEntity
An entity that can have one or more comments will implement this interface.
Author:
douglm
  • Method Details

    • setComments

      void setComments(Set<BwString> val)
      Set the comments Set
      Parameters:
      val - Set of (BwString)comments
    • getComments

      Set<BwString> getComments()
      Get the comments
      Returns:
      Set comments set
    • getNumComments

      int getNumComments()
      Returns:
      int number of comments.
    • addComment

      void addComment(String lang, String val)
      Parameters:
      lang -
      val -
    • addComment

      void addComment(BwString val)
      Parameters:
      val -
    • removeComment

      boolean removeComment(BwString val)
      Parameters:
      val -
      Returns:
      boolean true if removed.