Serializable
public class ExRule extends Property
Modifier and Type | Class | Description |
---|---|---|
static class |
ExRule.Factory |
ACKNOWLEDGED, ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALSCALE, CATEGORIES, CLASS, COMMENT, COMPLETED, CONTACT, COUNTRY, CREATED, DESCRIPTION, DTEND, DTSTAMP, DTSTART, DUE, DURATION, EXDATE, EXPERIMENTAL_PREFIX, EXRULE, EXTENDED_ADDRESS, FREEBUSY, GEO, LAST_MODIFIED, LOCALITY, LOCATION, LOCATION_TYPE, METHOD, NAME, ORGANIZER, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZURL, UID, URL, VERSION
Constructor | Description |
---|---|
ExRule() |
Default constructor.
|
ExRule(ParameterList aList,
String aValue) |
|
ExRule(ParameterList aList,
Recur aRecur) |
|
ExRule(Recur aRecur) |
Modifier and Type | Method | Description |
---|---|---|
Recur |
getRecur() |
|
String |
getValue() |
|
protected PropertyFactory<ExRule> |
newFactory() |
Returns a new property factory used to create deep copies.
|
void |
setRecur(Recur recur) |
|
void |
setValue(String aValue) |
Sets the current value of the property.
|
void |
validate() |
Perform validation on a property.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, copy, equals, getName, getParameter, getParameters, getParameters, hashCode, remove, removeAll, replace, setParameters, toString
public ExRule()
public ExRule(ParameterList aList, String aValue)
aList
- a list of parameters for this componentaValue
- a value string for this componentRecur(String)
public ExRule(Recur aRecur)
aRecur
- a recurrencepublic ExRule(ParameterList aList, Recur aRecur)
aList
- a list of parameters for this componentaRecur
- a recurrencepublic final Recur getRecur()
public final void setValue(String aValue)
public final String getValue()
public final void setRecur(Recur recur)
recur
- The recur to set.public void validate() throws ValidationException
Property
validate
in class Property
ValidationException
- where the property is not in a valid stateprotected PropertyFactory<ExRule> newFactory()
Property
newFactory
in class Property