Package org.bedework.calfacade.base
Interface SummaryEntity
- All Known Subinterfaces:
EventEntity
- All Known Implementing Classes:
BwAlarm,BwEvent,BwEventAnnotation,BwEventNewWrapper,BwEventObj,BwEventProxy
public interface SummaryEntity
An entity that can have one or more summaries will implement this interface.
- Author:
- douglm
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddSummary(BwString val) findSummary(String lang) intGet the summariesDeprecated.booleanremoveSummary(BwString val) voidsetSummaries(Set<BwString> val) Set the summaries SetvoidsetSummary(String val) Deprecated.voidupdateSummaries(String lang, String val) If summary with given lang is present updates the value, otherwise adds it.
-
Method Details
-
setSummaries
Set the summaries Set- Parameters:
val- Set of (BwString)summaries
-
getSummaries
Get the summaries- Returns:
- Set summaries set
-
getNumSummaries
int getNumSummaries()- Returns:
- int number of summaries.
-
updateSummaries
If summary with given lang is present updates the value, otherwise adds it.- Parameters:
lang-val-
-
findSummary
- Parameters:
lang-- Returns:
- BwString with language code or default
-
setSummary
Deprecated.- Parameters:
val- String default
-
getSummary
Deprecated.- Returns:
- String default
-
addSummary
- Parameters:
val-
-
removeSummary
- Parameters:
val-- Returns:
- boolean true if removed.
-