com.facebook.api.schema.UserInfo 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.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 user_info complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="user_info">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="title" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="type" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="info_fields">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="info_field" type="{http://api.facebook.com/1.0/}info_field" 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 = "user_info", propOrder = {
"title",
"type",
"infoFields"
})
public class UserInfo {
@XmlElement(required = true)
protected String title;
protected int type;
@XmlElement(name = "info_fields", required = true)
protected UserInfo.InfoFields infoFields;
/**
* Gets the value of the title property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTitle() {
return title;
}
/**
* Sets the value of the title property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTitle(String value) {
this.title = value;
}
/**
* Gets the value of the type property.
*
*/
public int getType() {
return type;
}
/**
* Sets the value of the type property.
*
*/
public void setType(int value) {
this.type = value;
}
/**
* Gets the value of the infoFields property.
*
* @return
* possible object is
* {@link UserInfo.InfoFields }
*
*/
public UserInfo.InfoFields getInfoFields() {
return infoFields;
}
/**
* Sets the value of the infoFields property.
*
* @param value
* allowed object is
* {@link UserInfo.InfoFields }
*
*/
public void setInfoFields(UserInfo.InfoFields value) {
this.infoFields = 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_field" type="{http://api.facebook.com/1.0/}info_field" 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 = {
"infoField"
})
public static class InfoFields {
@XmlElement(name = "info_field")
protected List infoField;
@XmlAttribute
protected Boolean list;
/**
* Gets the value of the infoField 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 infoField property.
*
*
* For example, to add a new item, do as follows:
*
* getInfoField().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InfoField }
*
*
*/
public List getInfoField() {
if (infoField == null) {
infoField = new ArrayList();
}
return this.infoField;
}
/**
* 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;
}
}
}