All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.code.facebookapi.schema.Group Maven / Gradle / Ivy

There is a newer version: 3.0.4
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-661 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2009.02.15 at 07:02:48 PM GMT-08:00 
//


package com.google.code.facebookapi.schema;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.jvnet.jaxb2_commons.lang.Equals;
import org.jvnet.jaxb2_commons.lang.HashCode;
import org.jvnet.jaxb2_commons.lang.ToString;
import org.jvnet.jaxb2_commons.lang.builder.JAXBEqualsBuilder;
import org.jvnet.jaxb2_commons.lang.builder.JAXBHashCodeBuilder;
import org.jvnet.jaxb2_commons.lang.builder.JAXBToStringBuilder;


/**
 * 

Java class for group complex type. * *

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

 * <complexType name="group">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="gid" type="{http://api.facebook.com/1.0/}gid"/>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="nid" type="{http://api.facebook.com/1.0/}nid"/>
 *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="group_type" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="group_subtype" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="recent_news" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="pic" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="pic_big" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="pic_small" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="creator" type="{http://api.facebook.com/1.0/}uid"/>
 *         <element name="update_time" type="{http://api.facebook.com/1.0/}time"/>
 *         <element name="office" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="website" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="venue" type="{http://api.facebook.com/1.0/}location"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "group", propOrder = { "gid", "name", "nid", "description", "groupType", "groupSubtype", "recentNews", "pic", "picBig", "picSmall", "creator", "updateTime", "office", "website", "venue" }) public class Group implements Equals, HashCode, ToString { protected long gid; @XmlElement(required = true) protected String name; protected int nid; @XmlElement(required = true) protected String description; @XmlElement(name = "group_type", required = true) protected String groupType; @XmlElement(name = "group_subtype", required = true) protected String groupSubtype; @XmlElement(name = "recent_news", required = true) protected String recentNews; @XmlElement(required = true) protected String pic; @XmlElement(name = "pic_big", required = true) protected String picBig; @XmlElement(name = "pic_small", required = true) protected String picSmall; @XmlElement(required = true, type = Long.class, nillable = true) protected Long creator; @XmlElement(name = "update_time") protected long updateTime; @XmlElement(required = true) protected String office; @XmlElement(required = true) protected String website; @XmlElement(required = true) protected Location venue; /** * Gets the value of the gid property. * */ public long getGid() { return gid; } /** * Sets the value of the gid property. * */ public void setGid(long value) { this.gid = value; } /** * Gets the value of the name property. * * @return * possible object is * {@link String } * */ public String getName() { return name; } /** * Sets the value of the name property. * * @param value * allowed object is * {@link String } * */ public void setName(String value) { this.name = value; } /** * Gets the value of the nid property. * */ public int getNid() { return nid; } /** * Sets the value of the nid property. * */ public void setNid(int value) { this.nid = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link String } * */ public String getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link String } * */ public void setDescription(String value) { this.description = value; } /** * Gets the value of the groupType property. * * @return * possible object is * {@link String } * */ public String getGroupType() { return groupType; } /** * Sets the value of the groupType property. * * @param value * allowed object is * {@link String } * */ public void setGroupType(String value) { this.groupType = value; } /** * Gets the value of the groupSubtype property. * * @return * possible object is * {@link String } * */ public String getGroupSubtype() { return groupSubtype; } /** * Sets the value of the groupSubtype property. * * @param value * allowed object is * {@link String } * */ public void setGroupSubtype(String value) { this.groupSubtype = value; } /** * Gets the value of the recentNews property. * * @return * possible object is * {@link String } * */ public String getRecentNews() { return recentNews; } /** * Sets the value of the recentNews property. * * @param value * allowed object is * {@link String } * */ public void setRecentNews(String value) { this.recentNews = value; } /** * Gets the value of the pic property. * * @return * possible object is * {@link String } * */ public String getPic() { return pic; } /** * Sets the value of the pic property. * * @param value * allowed object is * {@link String } * */ public void setPic(String value) { this.pic = value; } /** * Gets the value of the picBig property. * * @return * possible object is * {@link String } * */ public String getPicBig() { return picBig; } /** * Sets the value of the picBig property. * * @param value * allowed object is * {@link String } * */ public void setPicBig(String value) { this.picBig = value; } /** * Gets the value of the picSmall property. * * @return * possible object is * {@link String } * */ public String getPicSmall() { return picSmall; } /** * Sets the value of the picSmall property. * * @param value * allowed object is * {@link String } * */ public void setPicSmall(String value) { this.picSmall = value; } /** * Gets the value of the creator property. * * @return * possible object is * {@link Long } * */ public Long getCreator() { return creator; } /** * Sets the value of the creator property. * * @param value * allowed object is * {@link Long } * */ public void setCreator(Long value) { this.creator = value; } /** * Gets the value of the updateTime property. * */ public long getUpdateTime() { return updateTime; } /** * Sets the value of the updateTime property. * */ public void setUpdateTime(long value) { this.updateTime = value; } /** * Gets the value of the office property. * * @return * possible object is * {@link String } * */ public String getOffice() { return office; } /** * Sets the value of the office property. * * @param value * allowed object is * {@link String } * */ public void setOffice(String value) { this.office = value; } /** * Gets the value of the website property. * * @return * possible object is * {@link String } * */ public String getWebsite() { return website; } /** * Sets the value of the website property. * * @param value * allowed object is * {@link String } * */ public void setWebsite(String value) { this.website = value; } /** * Gets the value of the venue property. * * @return * possible object is * {@link Location } * */ public Location getVenue() { return venue; } /** * Sets the value of the venue property. * * @param value * allowed object is * {@link Location } * */ public void setVenue(Location value) { this.venue = value; } public void toString(ToStringBuilder toStringBuilder) { { long theGid; theGid = this.getGid(); toStringBuilder.append("gid", theGid); } { String theName; theName = this.getName(); toStringBuilder.append("name", theName); } { int theNid; theNid = this.getNid(); toStringBuilder.append("nid", theNid); } { String theDescription; theDescription = this.getDescription(); toStringBuilder.append("description", theDescription); } { String theGroupType; theGroupType = this.getGroupType(); toStringBuilder.append("groupType", theGroupType); } { String theGroupSubtype; theGroupSubtype = this.getGroupSubtype(); toStringBuilder.append("groupSubtype", theGroupSubtype); } { String theRecentNews; theRecentNews = this.getRecentNews(); toStringBuilder.append("recentNews", theRecentNews); } { String thePic; thePic = this.getPic(); toStringBuilder.append("pic", thePic); } { String thePicBig; thePicBig = this.getPicBig(); toStringBuilder.append("picBig", thePicBig); } { String thePicSmall; thePicSmall = this.getPicSmall(); toStringBuilder.append("picSmall", thePicSmall); } { Long theCreator; theCreator = this.getCreator(); toStringBuilder.append("creator", theCreator); } { long theUpdateTime; theUpdateTime = this.getUpdateTime(); toStringBuilder.append("updateTime", theUpdateTime); } { String theOffice; theOffice = this.getOffice(); toStringBuilder.append("office", theOffice); } { String theWebsite; theWebsite = this.getWebsite(); toStringBuilder.append("website", theWebsite); } { Location theVenue; theVenue = this.getVenue(); toStringBuilder.append("venue", theVenue); } } public String toString() { final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this); toString(toStringBuilder); return toStringBuilder.toString(); } public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof Group)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final Group that = ((Group) object); equalsBuilder.append(this.getGid(), that.getGid()); equalsBuilder.append(this.getName(), that.getName()); equalsBuilder.append(this.getNid(), that.getNid()); equalsBuilder.append(this.getDescription(), that.getDescription()); equalsBuilder.append(this.getGroupType(), that.getGroupType()); equalsBuilder.append(this.getGroupSubtype(), that.getGroupSubtype()); equalsBuilder.append(this.getRecentNews(), that.getRecentNews()); equalsBuilder.append(this.getPic(), that.getPic()); equalsBuilder.append(this.getPicBig(), that.getPicBig()); equalsBuilder.append(this.getPicSmall(), that.getPicSmall()); equalsBuilder.append(this.getCreator(), that.getCreator()); equalsBuilder.append(this.getUpdateTime(), that.getUpdateTime()); equalsBuilder.append(this.getOffice(), that.getOffice()); equalsBuilder.append(this.getWebsite(), that.getWebsite()); equalsBuilder.append(this.getVenue(), that.getVenue()); } public boolean equals(Object object) { if (!(object instanceof Group)) { return false; } if (this == object) { return true; } final EqualsBuilder equalsBuilder = new JAXBEqualsBuilder(); equals(object, equalsBuilder); return equalsBuilder.isEquals(); } public void hashCode(HashCodeBuilder hashCodeBuilder) { hashCodeBuilder.append(this.getGid()); hashCodeBuilder.append(this.getName()); hashCodeBuilder.append(this.getNid()); hashCodeBuilder.append(this.getDescription()); hashCodeBuilder.append(this.getGroupType()); hashCodeBuilder.append(this.getGroupSubtype()); hashCodeBuilder.append(this.getRecentNews()); hashCodeBuilder.append(this.getPic()); hashCodeBuilder.append(this.getPicBig()); hashCodeBuilder.append(this.getPicSmall()); hashCodeBuilder.append(this.getCreator()); hashCodeBuilder.append(this.getUpdateTime()); hashCodeBuilder.append(this.getOffice()); hashCodeBuilder.append(this.getWebsite()); hashCodeBuilder.append(this.getVenue()); } public int hashCode() { final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder(); hashCode(hashCodeBuilder); return hashCodeBuilder.toHashCode(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy