Package org.bedework.calfacade.base
Interface PropertiesEntity
- All Known Implementing Classes:
BwCalendar,BwCalendarNewWrapper,BwPreferences,BwSystem,CalendarWrapper
public interface PropertiesEntity
An entity that can have one or more properties will implement this interface.
- Author:
- douglm
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddProperty(BwProperty val) findProperty(String name) intgetProperties(String name) voidremoveProperties(String name) Remove all with given namebooleanremoveProperty(BwProperty val) voidsetProperties(Set<BwProperty> val)
-
Method Details
-
setProperties
- Parameters:
val-
-
getProperties
Set<BwProperty> getProperties()- Returns:
- properties
-
getProperties
- Parameters:
name-- Returns:
- properties with given name
-
removeProperties
Remove all with given name- Parameters:
name-
-
getNumProperties
int getNumProperties()- Returns:
- int
-
findProperty
- Parameters:
name-- Returns:
- property or null
-
addProperty
- Parameters:
val-
-
removeProperty
- Parameters:
val-- Returns:
- boolean
-
copyProperties
Set<BwProperty> copyProperties()- Returns:
- BwProperty
-
cloneProperties
Set<BwProperty> cloneProperties()- Returns:
- BwProperty
-