Package org.bedework.calfacade.base
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 Summary
Modifier and TypeMethodDescriptionvoidaddComment(String lang, String val) voidaddComment(BwString val) Get the commentsintbooleanremoveComment(BwString val) voidsetComments(Set<BwString> val) Set the comments Set
-
Method Details
-
setComments
Set the comments Set- Parameters:
val- Set of (BwString)comments
-
getComments
Get the comments- Returns:
- Set comments set
-
getNumComments
int getNumComments()- Returns:
- int number of comments.
-
addComment
- Parameters:
lang-val-
-
addComment
- Parameters:
val-
-
removeComment
- Parameters:
val-- Returns:
- boolean true if removed.
-