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

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

public static class User.WorkHistory
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="work_info" type="{http://api.facebook.com/1.0/}work_info" 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<WorkInfo> workInfo
           
 
Constructor Summary
User.WorkHistory()
           
 
Method Summary
 java.util.List<WorkInfo> getWorkInfo()
          Gets the value of the workInfo 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

workInfo

protected java.util.List<WorkInfo> workInfo

list

protected java.lang.Boolean list
Constructor Detail

User.WorkHistory

public User.WorkHistory()
Method Detail

getWorkInfo

public java.util.List<WorkInfo> getWorkInfo()
Gets the value of the workInfo 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 workInfo property.

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

    getWorkInfo().add(newItem);
 

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


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.