Class Status
java.lang.Object
net.fortuna.ical4j.model.Content
net.fortuna.ical4j.model.Property
net.fortuna.ical4j.model.property.Status
- All Implemented Interfaces:
Serializable,Comparable<Property>,FluentProperty
$Id$
Created: [Apr 6, 2004]
Defines a STATUS iCalendar component property.
4.8.1.11 Status
Property Name: STATUS
Purpose: This property defines the overall status or confirmation for
the calendar component.
Value Type: TEXT
Property Parameters: Non-standard property parameters can be
specified on this property.
Conformance: This property can be specified in "VEVENT", "VTODO" or
"VJOURNAL" calendar components.
Description: In a group scheduled calendar component, the property is
used by the "Organizer" to provide a confirmation of the event to the
"Attendees". For example in a "VEVENT" calendar component, the
"Organizer" can indicate that a meeting is tentative, confirmed or
cancelled. In a "VTODO" calendar component, the "Organizer" can
indicate that an action item needs action, is completed, is in
process or being worked on, or has been cancelled. In a "VJOURNAL"
calendar component, the "Organizer" can indicate that a journal entry
is draft, final or has been cancelled or removed.
Format Definition: The property is defined by the following notation:
status = "STATUS" statparam] ":" statvalue CRLF
statparam = *(";" xparam)
statvalue = "TENTATIVE" ;Indicates event is
;tentative.
/ "CONFIRMED" ;Indicates event is
;definite.
/ "CANCELLED" ;Indicates event was
;cancelled.
;Status values for a "VEVENT"
statvalue =/ "NEEDS-ACTION" ;Indicates to-do needs action.
/ "COMPLETED" ;Indicates to-do completed.
/ "IN-PROCESS" ;Indicates to-do in process of
/ "CANCELLED" ;Indicates to-do was cancelled.
;Status values for "VTODO".
statvalue =/ "DRAFT" ;Indicates journal is draft.
/ "FINAL" ;Indicates journal is final.
/ "CANCELLED" ;Indicates journal is removed.
;Status values for "VJOURNAL".
Example: The following is an example of this property for a "VEVENT"
calendar component:
STATUS:TENTATIVE
The following is an example of this property for a "VTODO" calendar
component:
STATUS:NEEDS-ACTION
The following is an example of this property for a "VJOURNAL"
calendar component:
STATUS:DRAFT
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StatusCancelled VEVENT status.static final StatusConfirmed VEVENT status.static final StatusTentative VEVENT status.static final StatusCancelled VJOURNAL status.static final StatusDraft VJOURNAL status.static final StatusFinal VJOURNAL status.static final StatusCancelled VTODO status.static final StatusCompleted VTODO status.static final StatusIn-process VTODO status.static final StatusTentative VTODO status.Fields inherited from class net.fortuna.ical4j.model.Property
ACKNOWLEDGED, ACTION, ATTACH, ATTENDEE, BUSYTYPE, CALENDAR_ADDRESS, 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, PARTICIPANT_TYPE, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, PROXIMITY, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCE_TYPE, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, STRUCTURED_DATA, STYLED_DESCRIPTION, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZID_ALIAS_OF, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZUNTIL, TZURL, UID, URL, VERSION, XML -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class net.fortuna.ical4j.model.Property
compareTo, copy, equals, getFluentTarget, getName, getParameter, getParameters, getParameters, hashCode, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface net.fortuna.ical4j.model.FluentProperty
withParameter
-
Field Details
-
VALUE_TENTATIVE
- See Also:
-
VALUE_CONFIRMED
- See Also:
-
VALUE_CANCELLED
- See Also:
-
VALUE_NEEDS_ACTION
- See Also:
-
VALUE_COMPLETED
- See Also:
-
VALUE_IN_PROCESS
- See Also:
-
VALUE_DRAFT
- See Also:
-
VALUE_FINAL
- See Also:
-
VEVENT_TENTATIVE
Tentative VEVENT status. -
VEVENT_CONFIRMED
Confirmed VEVENT status. -
VEVENT_CANCELLED
Cancelled VEVENT status. -
VTODO_NEEDS_ACTION
Tentative VTODO status. -
VTODO_COMPLETED
Completed VTODO status. -
VTODO_IN_PROCESS
In-process VTODO status. -
VTODO_CANCELLED
Cancelled VTODO status. -
VJOURNAL_DRAFT
Draft VJOURNAL status. -
VJOURNAL_FINAL
Final VJOURNAL status. -
VJOURNAL_CANCELLED
Cancelled VJOURNAL status.
-
-
Constructor Details
-
Status
public Status()Default constructor. -
Status
- Parameters:
aValue- a value string for this component
-
Status
- Parameters:
aList- a list of parameters for this componentaValue- a value string for this component
-
-
Method Details
-
setValue
Sets the current value of the property. -
getValue
-
validate
Description copied from class:PropertyPerform validation on a property.- Specified by:
validatein classProperty- Throws:
ValidationException- where the property is not in a valid state
-