public class RequestStatus extends Property
Modifier and Type | Class and Description |
---|---|
static class |
RequestStatus.Factory |
Modifier and Type | Field and Description |
---|---|
static String |
CLIENT_ERROR
Client error status.
|
static String |
PRELIM_SUCCESS
Preliminary success status.
|
static String |
SCHEDULING_ERROR
Scheduling error status.
|
static String |
SUCCESS
Success status.
|
ACKNOWLEDGED, 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,
String aValue) |
RequestStatus(ParameterList aList,
String aStatusCode,
String aDescription,
String data) |
RequestStatus(String aStatusCode,
String aDescription,
String data) |
Modifier and Type | Method and Description |
---|---|
String |
getDescription() |
String |
getExData() |
String |
getStatusCode() |
String |
getValue() |
protected PropertyFactory<RequestStatus> |
newFactory()
Returns a new property factory used to create deep copies.
|
void |
setDescription(String description) |
void |
setExData(String exData) |
void |
setStatusCode(String statusCode) |
void |
setValue(String aValue)
Sets the current value of the property.
|
void |
validate()
Perform validation on a property.
|
add, copy, equals, getName, getParameter, getParameters, getParameters, hashCode, remove, removeAll, replace, setParameters, toString
public static final String PRELIM_SUCCESS
public static final String SUCCESS
public static final String CLIENT_ERROR
public static final String SCHEDULING_ERROR
public RequestStatus()
public RequestStatus(ParameterList aList, String aValue)
aList
- a list of parameters for this componentaValue
- a value string for this componentpublic RequestStatus(String aStatusCode, String aDescription, String data)
aStatusCode
- a string representation of a status codeaDescription
- a descriptiondata
- a string representation of extension datapublic RequestStatus(ParameterList aList, String aStatusCode, String aDescription, 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 String getDescription()
public final String getExData()
public final String getStatusCode()
public final void setValue(String aValue)
public final String getValue()
public final void setDescription(String description)
description
- The description to set.public final void setExData(String exData)
exData
- The exData to set.public final void setStatusCode(String statusCode)
statusCode
- The statusCode to set.public void validate() throws ValidationException
Property
validate
in class Property
ValidationException
- where the property is not in a valid stateprotected PropertyFactory<RequestStatus> newFactory()
Property
newFactory
in class Property