All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.facebook.api.schema.FacebookApiException Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.3 in JDK 1.6 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2008.06.08 at 04:00:59 PM PDT 
//


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;


/**
 * 

Java class for FacebookApiException complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <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>
 * 
* * */ @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 int getErrorCode() { return errorCode; } /** * Sets the value of the errorCode property. * */ public void setErrorCode(int value) { this.errorCode = value; } /** * Gets the value of the errorMsg property. * * @return * possible object is * {@link String } * */ public String getErrorMsg() { return errorMsg; } /** * Sets the value of the errorMsg property. * * @param value * allowed object is * {@link String } * */ public void setErrorMsg(String value) { this.errorMsg = value; } /** * Gets the value of the requestArgs property. * * @return * possible object is * {@link FacebookApiException.RequestArgs } * */ public FacebookApiException.RequestArgs getRequestArgs() { return requestArgs; } /** * Sets the value of the requestArgs property. * * @param value * allowed object is * {@link FacebookApiException.RequestArgs } * */ public void setRequestArgs(FacebookApiException.RequestArgs value) { this.requestArgs = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <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>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "arg" }) public static class RequestArgs { protected List arg; @XmlAttribute protected Boolean list; /** * Gets the value of the arg property. * *

* 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 arg property. * *

* For example, to add a new item, do as follows: *

         *    getArg().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Arg } * * */ public List getArg() { if (arg == null) { arg = new ArrayList(); } return this.arg; } /** * Gets the value of the list property. * * @return * possible object is * {@link Boolean } * */ public Boolean isList() { return list; } /** * Sets the value of the list property. * * @param value * allowed object is * {@link Boolean } * */ public void setList(Boolean value) { this.list = value; } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy