com.google.code.facebookapi.schema
Class Affiliation

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

public class Affiliation
extends java.lang.Object

Java class for affiliation complex type.

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

 <complexType name="affiliation">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="nid" type="{http://api.facebook.com/1.0/}nid"/>
         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="status" type="{http://www.w3.org/2001/XMLSchema}string"/>
         <element name="year" type="{http://api.facebook.com/1.0/}year"/>
       </sequence>
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.String name
           
protected  int nid
           
protected  java.lang.String status
           
protected  java.lang.String type
           
protected  int year
           
 
Constructor Summary
Affiliation()
           
 
Method Summary
 java.lang.String getName()
          Gets the value of the name property.
 int getNid()
          Gets the value of the nid property.
 java.lang.String getStatus()
          Gets the value of the status property.
 java.lang.String getType()
          Gets the value of the type property.
 int getYear()
          Gets the value of the year property.
 void setName(java.lang.String value)
          Sets the value of the name property.
 void setNid(int value)
          Sets the value of the nid property.
 void setStatus(java.lang.String value)
          Sets the value of the status property.
 void setType(java.lang.String value)
          Sets the value of the type property.
 void setYear(int value)
          Sets the value of the year property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nid

protected int nid

name

protected java.lang.String name

type

protected java.lang.String type

status

protected java.lang.String status

year

protected int year
Constructor Detail

Affiliation

public Affiliation()
Method Detail

getNid

public int getNid()
Gets the value of the nid property.


setNid

public void setNid(int value)
Sets the value of the nid property.


getName

public java.lang.String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(java.lang.String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getType

public java.lang.String getType()
Gets the value of the type property.

Returns:
possible object is String

setType

public void setType(java.lang.String value)
Sets the value of the type property.

Parameters:
value - allowed object is String

getStatus

public java.lang.String getStatus()
Gets the value of the status property.

Returns:
possible object is String

setStatus

public void setStatus(java.lang.String value)
Sets the value of the status property.

Parameters:
value - allowed object is String

getYear

public int getYear()
Gets the value of the year property.


setYear

public void setYear(int value)
Sets the value of the year property.



Copyright © 2008. All Rights Reserved.