|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sforce.soap.partner.Error
public class Error
Java class for Error complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="Error"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="fields" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> <element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/> <element name="statusCode" type="{urn:partner.soap.sforce.com}StatusCode"/> </sequence> </restriction> </complexContent> </complexType>
Field Summary | |
---|---|
protected java.util.List<java.lang.String> |
fields
|
protected java.lang.String |
message
|
protected StatusCode |
statusCode
|
Constructor Summary | |
---|---|
Error()
|
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getFields()
Gets the value of the fields property. |
java.lang.String |
getMessage()
Gets the value of the message property. |
StatusCode |
getStatusCode()
Gets the value of the statusCode property. |
void |
setMessage(java.lang.String value)
Sets the value of the message property. |
void |
setStatusCode(StatusCode value)
Sets the value of the statusCode property. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.List<java.lang.String> fields
protected java.lang.String message
protected StatusCode statusCode
Constructor Detail |
---|
public Error()
Method Detail |
---|
public java.util.List<java.lang.String> getFields()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set
method for the fields property.
For example, to add a new item, do as follows:
getFields().add(newItem);
Objects of the following type(s) are allowed in the list
String
public java.lang.String getMessage()
String
public void setMessage(java.lang.String value)
value
- allowed object is
String
public StatusCode getStatusCode()
StatusCode
public void setStatusCode(StatusCode value)
value
- allowed object is
StatusCode
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |