com.google.code.facebookapi.schema
Class DataGetUserPreferencesResponse

java.lang.Object
  extended by com.google.code.facebookapi.schema.DataGetUserPreferencesResponse

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


Field Summary
protected  java.lang.Boolean list
           
protected  java.util.List<Preference> preference
           
 
Constructor Summary
DataGetUserPreferencesResponse()
           
 
Method Summary
 java.util.List<Preference> getPreference()
          Gets the value of the preference 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

preference

protected java.util.List<Preference> preference

list

protected java.lang.Boolean list
Constructor Detail

DataGetUserPreferencesResponse

public DataGetUserPreferencesResponse()
Method Detail

getPreference

public java.util.List<Preference> getPreference()
Gets the value of the preference 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 preference property.

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

    getPreference().add(newItem);
 

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


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.