com.google.code.facebookapi.schema
Class Affiliation

java.lang.Object
  extended by com.google.code.facebookapi.schema.Affiliation
All Implemented Interfaces:
org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

public class Affiliation
extends java.lang.Object
implements org.jvnet.jaxb2_commons.lang.Equals, org.jvnet.jaxb2_commons.lang.HashCode, org.jvnet.jaxb2_commons.lang.ToString

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
 boolean equals(java.lang.Object object)
           
 void equals(java.lang.Object object, org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
           
 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.
 int hashCode()
           
 void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
           
 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.
 java.lang.String toString()
           
 void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, 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.


toString

public void toString(org.apache.commons.lang.builder.ToStringBuilder toStringBuilder)
Specified by:
toString in interface org.jvnet.jaxb2_commons.lang.ToString

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public void equals(java.lang.Object object,
                   org.apache.commons.lang.builder.EqualsBuilder equalsBuilder)
Specified by:
equals in interface org.jvnet.jaxb2_commons.lang.Equals

equals

public boolean equals(java.lang.Object object)
Overrides:
equals in class java.lang.Object

hashCode

public void hashCode(org.apache.commons.lang.builder.HashCodeBuilder hashCodeBuilder)
Specified by:
hashCode in interface org.jvnet.jaxb2_commons.lang.HashCode

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


Copyright © 2009. All Rights Reserved.