Package org.bedework.calfacade.base
Interface ResourcedEntity
- All Known Subinterfaces:
EventEntity
- All Known Implementing Classes:
BwEvent,BwEventAnnotation,BwEventNewWrapper,BwEventObj,BwEventProxy
public interface ResourcedEntity
An entity that can have one or more resources will implement this interface.
- Author:
- douglm
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddResource(String lang, String val) voidaddResource(BwString val) intGet the resourcesbooleanremoveResource(BwString val) voidsetResources(Set<BwString> val) Set the resources Set
-
Method Details
-
setResources
Set the resources Set- Parameters:
val- Set of (BwString)resources
-
getResources
Get the resources- Returns:
- Set resources set
-
getNumResources
int getNumResources()- Returns:
- int number of resources.
-
addResource
- Parameters:
lang-val-
-
addResource
- Parameters:
val-
-
removeResource
- Parameters:
val-- Returns:
- boolean true if removed.
-