//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.3-b01-fcs
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2007.06.20 at 06:10:07 PM HST
//
package com.facebook.api.schema;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for FacebookApiException complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="FacebookApiException">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="error_code" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="error_msg" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="request_args">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="arg" type="{http://api.facebook.com/1.0/}arg" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FacebookApiException", propOrder = {
"errorCode",
"errorMsg",
"requestArgs"
})
public class FacebookApiException {
@XmlElement(name = "error_code")
protected int errorCode;
@XmlElement(name = "error_msg", required = true)
protected String errorMsg;
@XmlElement(name = "request_args", required = true)
protected FacebookApiException.RequestArgs requestArgs;
/**
* Gets the value of the errorCode property.
*
*/
public synchronized int getErrorCode() {
return errorCode;
}
/**
* Sets the value of the errorCode property.
*
*/
public synchronized void setErrorCode(int value) {
this.errorCode = value;
}
/**
* Gets the value of the errorMsg property.
*
* @return
* possible object is
* {@link String }
*
*/
public synchronized String getErrorMsg() {
return errorMsg;
}
/**
* Sets the value of the errorMsg property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public synchronized void setErrorMsg(String value) {
this.errorMsg = value;
}
/**
* Gets the value of the requestArgs property.
*
* @return
* possible object is
* {@link FacebookApiException.RequestArgs }
*
*/
public synchronized FacebookApiException.RequestArgs getRequestArgs() {
return requestArgs;
}
/**
* Sets the value of the requestArgs property.
*
* @param value
* allowed object is
* {@link FacebookApiException.RequestArgs }
*
*/
public synchronized void setRequestArgs(FacebookApiException.RequestArgs value) {
this.requestArgs = value;
}
/**
* <p>Java class for anonymous complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="arg" type="{http://api.facebook.com/1.0/}arg" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"arg"
})
public static class RequestArgs {
protected List<Arg> arg;
@XmlAttribute
protected Boolean list;
/**
* Gets the value of the arg property.
*
* <p>
* 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 <CODE>set</CODE> method for the arg property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getArg().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link Arg }
*
*
*/
public synchronized List<Arg> getArg() {
if (arg == null) {
arg = new ArrayList<Arg>();
}
return this.arg;
}
/**
* Gets the value of the list property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public synchronized Boolean isList() {
return list;
}
/**
* Sets the value of the list property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public synchronized void setList(Boolean value) {
this.list = value;
}
}
}
|