public class VAvailability extends CalendarComponent
Component Name: VAVAILABILITY Purpose: Provide a grouping of component properties that describe the availability associated with a calendar user. Format Definition: A "VAVAILABILITY" calendar component is defined by the following notation: availabilityc = "BEGIN" ":" "VAVAILABILITY" CRLF availabilityprop *availablec "END" ":" "VAVAILABILITY" CRLF availabilityprop = *( ; the following are REQUIRED, ; but MUST NOT occur more than once dtstamp / dtstart / uid ; the following are OPTIONAL, ; but MUST NOT occur more than once busytype / created / last-mod / organizer / seq / summary / url / ; either 'dtend' or 'duration' may appear ; in a 'availabilityprop', but 'dtend' and ; 'duration' MUST NOT occur in the same ; 'availabilityprop' dtend / duration / ; the following are OPTIONAL, ; and MAY occur more than once categories / comment / contact / x-prop )
Modifier and Type | Class and Description |
---|---|
static class |
VAvailability.Factory |
EMPTY_VALIDATOR
Constructor and Description |
---|
VAvailability()
Default constructor.
|
VAvailability(boolean initialise) |
VAvailability(PropertyList properties)
Constructs a new instance containing the specified properties.
|
VAvailability(PropertyList properties,
ComponentList<Available> available)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
ComponentList<Available> |
getAvailable()
Returns the list of available times.
|
protected Validator |
getValidator(Method method) |
java.lang.String |
toString() |
void |
validate(boolean recurse)
Perform validation on a component.
|
validate, validateAdd, validateCancel, validateCounter, validateDeclineCounter, validatePublish, validateRefresh, validateReply, validateRequest
calculateRecurrenceSet, copy, equals, getName, getProperties, getProperties, getProperty, hashCode, validate, validateProperties
public VAvailability()
public VAvailability(boolean initialise)
public VAvailability(PropertyList properties)
properties
- a list of propertiespublic VAvailability(PropertyList properties, ComponentList<Available> available)
properties
- a list of propertiesavailable
- a list of available componentspublic final ComponentList<Available> getAvailable()
public final void validate(boolean recurse) throws ValidationException
validate
in class Component
recurse
- indicates whether to validate the component's propertiesValidationException
- where the component is not in a valid stateprotected Validator getValidator(Method method)
getValidator
in class CalendarComponent
method
- a method to validate on