Class BaseResponseType
java.lang.Object
org.oasis_open.docs.ws_calendar.ns.soap.BaseResponseType
- Direct Known Subclasses:
AddItemResponseType,DeleteItemResponseType,FetchItemResponseType,FreebusyReportResponseType,GetPropertiesResponseType,MultiOpResponseType,MultistatusType,PropstatType,UpdateItemResponseType
Responses have this as the base type. If the request had an id
attribute its value will be set as the response id attribute value.
Java class for BaseResponseType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="BaseResponseType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="status" type="{http://docs.oasis-open.org/ws-calendar/ns/soap}StatusType"/>
<element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="errorResponse" type="{http://docs.oasis-open.org/ws-calendar/ns/soap}ErrorResponseType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://www.w3.org/2001/XMLSchema}int" default="0" />
</restriction>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ErrorResponseTypeprotected Integerprotected Stringprotected StatusType -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the value of the errorResponse property.intgetId()Gets the value of the id property.Gets the value of the message property.Gets the value of the status property.voidSets the value of the errorResponse property.voidSets the value of the id property.voidsetMessage(String value) Sets the value of the message property.voidsetStatus(StatusType value) Sets the value of the status property.
-
Field Details
-
status
-
message
-
errorResponse
-
id
-
-
Constructor Details
-
BaseResponseType
public BaseResponseType()
-
-
Method Details
-
getStatus
Gets the value of the status property.- Returns:
- possible object is
StatusType
-
setStatus
Sets the value of the status property.- Parameters:
value- allowed object isStatusType
-
getMessage
Gets the value of the message property.- Returns:
- possible object is
String
-
setMessage
Sets the value of the message property.- Parameters:
value- allowed object isString
-
getErrorResponse
Gets the value of the errorResponse property.- Returns:
- possible object is
ErrorResponseType
-
setErrorResponse
Sets the value of the errorResponse property.- Parameters:
value- allowed object isErrorResponseType
-
getId
public int getId()Gets the value of the id property.- Returns:
- possible object is
Integer
-
setId
Sets the value of the id property.- Parameters:
value- allowed object isInteger
-