com.google.code.facebookapi.schema
Class User.Affiliations

java.lang.Object
  extended by com.google.code.facebookapi.schema.User.Affiliations
Enclosing class:
User

public static class User.Affiliations
extends java.lang.Object

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="affiliation" type="{http://api.facebook.com/1.0/}affiliation" maxOccurs="unbounded" minOccurs="0"/>
       </sequence>
       <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.util.List<Affiliation> affiliation
           
protected  java.lang.Boolean list
           
 
Constructor Summary
User.Affiliations()
           
 
Method Summary
 java.util.List<Affiliation> getAffiliation()
          Gets the value of the affiliation property.
 java.lang.Boolean isList()
          Gets the value of the list property.
 void setList(java.lang.Boolean value)
          Sets the value of the list property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

affiliation

protected java.util.List<Affiliation> affiliation

list

protected java.lang.Boolean list
Constructor Detail

User.Affiliations

public User.Affiliations()
Method Detail

getAffiliation

public java.util.List<Affiliation> getAffiliation()
Gets the value of the affiliation 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 affiliation property.

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

    getAffiliation().add(newItem);
 

Objects of the following type(s) are allowed in the list Affiliation


isList

public java.lang.Boolean isList()
Gets the value of the list property.

Returns:
possible object is Boolean

setList

public void setList(java.lang.Boolean value)
Sets the value of the list property.

Parameters:
value - allowed object is Boolean


Copyright © 2008. All Rights Reserved.