Top Description Inners Fields Constructors Methods
net.fortuna.ical4j.model.component

public Class Available

extends Component
Class Inheritance
Imports
net.fortuna.ical4j.model.Component, .ComponentFactory, .Content, .PropertyList, net.fortuna.ical4j.validate.ComponentValidator, .ValidationException, .ValidationResult

$Id$ [05-Apr-2004]

Defines an iCalendar Available component.


      availablec  = "BEGIN" ":" "AVAILABLE" CRLF

                   availableprop

                   "END" ":" "AVAILABLE" CRLF

availableprop  = *(

; the following are REQUIRED,
; but MUST NOT occur more than once

dtstamp / dtstart / uid /

; either a 'dtend' or a 'duration' is required
; in a 'availableprop', but 'dtend' and
; 'duration' MUST NOT occur in the same
; 'availableprop', and each MUST NOT occur more
; than once

dtend / duration /

; the following are OPTIONAL,
; but MUST NOT occur more than once

created / last-mod / recurid / rrule /
summary /

; the following are OPTIONAL,
; and MAY occur more than once

categories / comment / contact / exdate /
rdate / x-prop

)
Authors
Ben Fortuna, Mike Douglass

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class
Available.Factory

Default factory.

Field Summary

Modifier and TypeField and Description
private static final long
Inherited from net.fortuna.ical4j.model.Component:
AVAILABLEBEGINcomponentsENDEXPERIMENTAL_PREFIXPARTICIPANTpropertiesVALARMVAVAILABILITYVEVENTVFREEBUSYVJOURNALVLOCATIONVRESOURCEVTIMEZONEVTODOVVENUE

Constructor Summary

AccessConstructor and Description
public
Available()

Default constructor.

public
Available(final PropertyList
a list of properties
properties
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
protected ComponentFactory<Available>
newFactory()

Implements abstract net.fortuna.ical4j.model.Component.newFactory.

Returns a new component factory used to create deep copies.

public ValidationResult
validate(final boolean
indicates whether to validate the component's properties
recurse
)

Implements abstract net.fortuna.ical4j.model.Component.validate.

Perform validation on a component.

Inherited from net.fortuna.ical4j.model.Component:
calculateRecurrenceSetcompareTocopyequalsgetFluentTargetgetNamegetPropertiesgetPropertyListgetUidgetValuehashCodesetPropertyListtoStringvalidatevalidateProperties

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides net.fortuna.ical4j.model.Component.serialVersionUID.

Constructor Detail

Availableback to summary
public Available()

Default constructor.

Availableback to summary
public Available(final PropertyList properties)

Constructor.

Parameters
properties:PropertyList

a list of properties

Method Detail

newFactoryback to summary
protected ComponentFactory<Available> newFactory()

Implements abstract net.fortuna.ical4j.model.Component.newFactory.

Doc from net.fortuna.ical4j.model.Component.newFactory.

Returns a new component factory used to create deep copies.

Returns:ComponentFactory<Available>

a component factory instance

Annotations
@Override
validateback to summary
public ValidationResult validate(final boolean recurse) throws ValidationException

Implements abstract net.fortuna.ical4j.model.Component.validate.

Doc from net.fortuna.ical4j.model.Component.validate.

Perform validation on a component.

Parameters
recurse:boolean

indicates whether to validate the component's properties

Annotations
@Override
Exceptions
ValidationException:
where the component is not in a valid state
net.fortuna.ical4j.model.component back to summary

public Class Available.Factory

extends Factory
implements ComponentFactory<Available>
Class Inheritance
All Implemented Interfaces
net.fortuna.ical4j.model.ComponentFactory

Default factory.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public Available
public Available
Inherited from net.fortuna.ical4j.model.Content.Factory:
supports

Constructor Detail

Factoryback to summary
public Factory()

Method Detail

createComponentback to summary
public Available createComponent()

Implements net.fortuna.ical4j.model.ComponentFactory.createComponent.

Annotations
@Override
createComponentback to summary
public Available createComponent(PropertyList properties)

Implements net.fortuna.ical4j.model.ComponentFactory.createComponent.

Annotations
@Override