public class RequestStatus extends Property
Modifier and Type | Class and Description |
---|---|
static class |
RequestStatus.Factory |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CLIENT_ERROR
Client error status.
|
static java.lang.String |
PRELIM_SUCCESS
Preliminary success status.
|
static java.lang.String |
SCHEDULING_ERROR
Scheduling error status.
|
static java.lang.String |
SUCCESS
Success status.
|
ACTION, ATTACH, ATTENDEE, BUSYTYPE, 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, PERCENT_COMPLETE, POSTALCODE, PRIORITY, PRODID, RDATE, RECURRENCE_ID, REGION, RELATED_TO, REPEAT, REQUEST_STATUS, RESOURCES, RRULE, SEQUENCE, STATUS, STREET_ADDRESS, SUMMARY, TEL, TRANSP, TRIGGER, TZID, TZNAME, TZOFFSETFROM, TZOFFSETTO, TZURL, UID, URL, VERSION
Constructor and Description |
---|
RequestStatus()
Default constructor.
|
RequestStatus(ParameterList aList,
java.lang.String aValue) |
RequestStatus(ParameterList aList,
java.lang.String aStatusCode,
java.lang.String aDescription,
java.lang.String data) |
RequestStatus(java.lang.String aStatusCode,
java.lang.String aDescription,
java.lang.String data) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getExData() |
java.lang.String |
getStatusCode() |
java.lang.String |
getValue() |
void |
setDescription(java.lang.String description) |
void |
setExData(java.lang.String exData) |
void |
setStatusCode(java.lang.String statusCode) |
void |
setValue(java.lang.String aValue)
Sets the current value of the property.
|
void |
validate()
Perform validation on a property.
|
copy, equals, getName, getParameter, getParameters, getParameters, hashCode, toString
public static final java.lang.String PRELIM_SUCCESS
public static final java.lang.String SUCCESS
public static final java.lang.String CLIENT_ERROR
public static final java.lang.String SCHEDULING_ERROR
public RequestStatus()
public RequestStatus(ParameterList aList, java.lang.String aValue)
aList
- a list of parameters for this componentaValue
- a value string for this componentpublic RequestStatus(java.lang.String aStatusCode, java.lang.String aDescription, java.lang.String data)
aStatusCode
- a string representation of a status codeaDescription
- a descriptiondata
- a string representation of extension datapublic RequestStatus(ParameterList aList, java.lang.String aStatusCode, java.lang.String aDescription, java.lang.String data)
aList
- a list of parameters for this componentaStatusCode
- a string representation of a status codeaDescription
- a descriptiondata
- a string representation of extension datapublic final void validate() throws ValidationException
validate
in class Property
ValidationException
- where the property is not in a valid statepublic final java.lang.String getDescription()
public final java.lang.String getExData()
public final java.lang.String getStatusCode()
public final void setValue(java.lang.String aValue)
public final java.lang.String getValue()
public final void setDescription(java.lang.String description)
description
- The description to set.public final void setExData(java.lang.String exData)
exData
- The exData to set.public final void setStatusCode(java.lang.String statusCode)
statusCode
- The statusCode to set.