net.fortuna.ical4j.model.property

Class BusyType


public class BusyType
extends Property

$Id: BusyType.java,v 1.3 2008/12/16 12:34:51 fortuna Exp $ Created: [Apr 6, 2004] Defines a BUSYTYPE iCalendar component property. Format Definition: This property is defined by the following notation: busytype = "BUSYTYPE" busytypeparam ":" busytypevalue CRLF busytypeparam = *(";" xparam) busytypevalue = "BUSY" / "BUSY-UNAVAILABLE" / "BUSY-TENTATIVE" / iana-token / x-name ; Default is "BUSY-UNAVAILABLE"

Field Summary

static BusyType
BUSY
static BusyType
BUSY_TENTATIVE
static BusyType
BUSY_UNAVAILABLE

Constructor Summary

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

Method Summary

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

Field Details

BUSY

public static final BusyType BUSY

BUSY_TENTATIVE

public static final BusyType BUSY_TENTATIVE

BUSY_UNAVAILABLE

public static final BusyType BUSY_UNAVAILABLE

Constructor Details

BusyType

public BusyType()
Default constructor.

BusyType

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

BusyType

public BusyType(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