net.fortuna.ical4j.model.component
Class VAvailability
CalendarComponent
net.fortuna.ical4j.model.component.VAvailability
public class VAvailability
extends CalendarComponent
$Id: VAvailability.java,v 1.5 2009/01/07 10:02:30 fortuna Exp $ [Apr 5, 2004]
Defines an iCalendar VAVAILABILITY component.
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
)
VAvailability() - Default constructor.
|
VAvailability(PropertyList properties) - Constructs a new instance containing the specified properties.
|
VAvailability(PropertyList properties, ComponentList available) - Constructor.
|
VAvailability
public VAvailability()
Default constructor.
VAvailability
public VAvailability(PropertyList properties)
Constructs a new instance containing the specified properties.
properties
- a list of properties
VAvailability
public VAvailability(PropertyList properties,
ComponentList available)
Constructor.
properties
- a list of properties
getAvailable
public final ComponentList getAvailable()
Returns the list of available times.
toString
public final String toString()
java.lang.Object.toString()
validate
public final void validate(boolean recurse)
throws ValidationException
validateAdd
public void validateAdd()
throws ValidationException
validateCancel
public void validateCancel()
throws ValidationException
validateCounter
public void validateCounter()
throws ValidationException
validateDeclineCounter
public void validateDeclineCounter()
throws ValidationException
validatePublish
public void validatePublish()
throws ValidationException
validateRefresh
public void validateRefresh()
throws ValidationException
validateReply
public void validateReply()
throws ValidationException
validateRequest
public void validateRequest()
throws ValidationException