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

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

The newest version!
//
// 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.07.20 at 05:29:33 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 info_field complex type. * *

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

 * <complexType name="info_field">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="field" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="items">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence maxOccurs="unbounded" minOccurs="0">
 *                   <element name="info_item" type="{http://api.facebook.com/1.0/}info_item" 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 = "info_field", propOrder = { "field", "items" }) public class InfoField { @XmlElement(required = true) protected String field; @XmlElement(required = true) protected InfoField.Items items; /** * Gets the value of the field property. * * @return * possible object is * {@link String } * */ public String getField() { return field; } /** * Sets the value of the field property. * * @param value * allowed object is * {@link String } * */ public void setField(String value) { this.field = value; } /** * Gets the value of the items property. * * @return * possible object is * {@link InfoField.Items } * */ public InfoField.Items getItems() { return items; } /** * Sets the value of the items property. * * @param value * allowed object is * {@link InfoField.Items } * */ public void setItems(InfoField.Items value) { this.items = 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="info_item" type="{http://api.facebook.com/1.0/}info_item" 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 = { "infoItem" }) public static class Items { @XmlElement(name = "info_item") protected List infoItem; @XmlAttribute protected Boolean list; /** * Gets the value of the infoItem 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 infoItem property. * *

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

         *    getInfoItem().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link InfoItem } * * */ public List getInfoItem() { if (infoItem == null) { infoItem = new ArrayList(); } return this.infoItem; } /** * 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