Package org.bedework.calfacade.base
Interface XpropsEntity
- All Known Subinterfaces:
EventEntity
- All Known Implementing Classes:
BwAlarm,BwEvent,BwEventAnnotation,BwEventNewWrapper,BwEventObj,BwEventProxy
public interface XpropsEntity
An entity that can have one or more x-properties will implement this interface.
- Author:
- douglm
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddXproperty(BwXproperty val) intgetXicalProperties(String val) Find x-properties storing the value of the named ical propertydefault List<BwXproperty>REturn x-properties not skippedgetXproperties(String val) intremoveXproperties(String val) Remove all instances of the named property.voidvoidsetXproperties(List<BwXproperty> val) Set the x-props
-
Method Details
-
setXproperties
Set the x-props- Parameters:
val- List of x-props
-
getXproperties
List<BwXproperty> getXproperties()- Returns:
- List
-
getNumXproperties
int getNumXproperties()- Returns:
- int
-
getXproperties
- Parameters:
val- - name to match- Returns:
- list of matching properties - never null
-
getXicalProperties
Find x-properties storing the value of the named ical property- Parameters:
val- - name to match- Returns:
- list of matching properties - never null
-
getXnonskipProperties
REturn x-properties not skipped- Returns:
- list of matching properties - never null
-
removeXproperties
Remove all instances of the named property.- Parameters:
val- - name to match- Returns:
- number of removed proeprties
-
addXproperty
- Parameters:
val- an x-prop
-
removeXproperty
- Parameters:
val- an x-prop
-
cloneXproperty
List<BwXproperty> cloneXproperty()- Returns:
- List of x-properties
-