net.fortuna.ical4j.model.property

Class Method


public class Method
extends Property

$Id: Method.java,v 1.12 2008/12/16 12:34:51 fortuna Exp $ Created: [Apr 6, 2004] Defines a METHOD iCalendar property.

Field Summary

static Method
ADD
Add one or more instances to an existing VEVENT, VTODO, or VJOURNAL.
static Method
CANCEL
Cancel one or more instances of an existing VEVENT, VTODO, or VJOURNAL.
static Method
COUNTER
The Counter method is used by an "Attendee" to negotiate a change in the calendar entry.
static Method
DECLINE_COUNTER
Used by the "Organizer" to decline the proposed counter-proprosal.
static Method
PUBLISH
Used to publish a calendar entry to one or more Calendar Users.
static Method
REFRESH
The Refresh method is used by an "Attendee" to request the latest version of a calendar entry.
static Method
REPLY
A Reply is used in response to a Request to convey "Attendee" status to the "Organizer".
static Method
REQUEST
Used to schedule a calendar entry with other Calendar Users.

Constructor Summary

Method()
Default constructor.
Method(ParameterList aList, String aValue)
Method(String aValue)

Method Summary

String
getValue()
void
setValue(String aValue)
void
validate()

Field Details

ADD

public static final Method ADD
Add one or more instances to an existing VEVENT, VTODO, or VJOURNAL. [RFC 2446]

CANCEL

public static final Method CANCEL
Cancel one or more instances of an existing VEVENT, VTODO, or VJOURNAL. [RFC 2446]

COUNTER

public static final Method COUNTER
The Counter method is used by an "Attendee" to negotiate a change in the calendar entry. Examples include the request to change a proposed Event time or change the due date for a VTODO. [RFC 2446]

DECLINE_COUNTER

public static final Method DECLINE_COUNTER
Used by the "Organizer" to decline the proposed counter-proprosal. [RFC 2446]

PUBLISH

public static final Method PUBLISH
Used to publish a calendar entry to one or more Calendar Users. There is no interactivity between the publisher and any other calendar user. An example might include a baseball team publishing its schedule to the public. [RFC 2446]

REFRESH

public static final Method REFRESH
The Refresh method is used by an "Attendee" to request the latest version of a calendar entry. [RFC 2446]

REPLY

public static final Method REPLY
A Reply is used in response to a Request to convey "Attendee" status to the "Organizer". Replies are commonly used to respond to meeting and task requests. [RFC2446]

REQUEST

public static final Method REQUEST
Used to schedule a calendar entry with other Calendar Users. Requests are interactive in that they require the receiver to respond using the Reply methods. Meeting Requests, Busy Time requests and the assignment of VTODOs to other Calendar Users are all examples. Requests are also used by the "Organizer" to update the status of a calendar entry. [RFC 2446]

Constructor Details

Method

public Method()
Default constructor.

Method

public Method(ParameterList aList,
              String aValue)
Parameters:
aList - a list of parameters for this component
aValue - a value string for this component

Method

public Method(String aValue)
Parameters:
aValue - a value string for this component

Method Details

getValue

public final String getValue()

setValue

public void setValue(String aValue)

validate

public final void validate()
            throws ValidationException