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

com.google.code.facebookapi.schema.Album 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 album complex type. * *

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

 * <complexType name="album">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="aid" type="{http://api.facebook.com/1.0/}aid"/>
 *         <element name="cover_pid" type="{http://api.facebook.com/1.0/}pid"/>
 *         <element name="owner" type="{http://api.facebook.com/1.0/}uid"/>
 *         <element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="created" type="{http://api.facebook.com/1.0/}time"/>
 *         <element name="modified" type="{http://api.facebook.com/1.0/}time"/>
 *         <element name="description" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="location" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="link" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="size" type="{http://www.w3.org/2001/XMLSchema}int"/>
 *         <element name="visible" type="{http://api.facebook.com/1.0/}visible" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "album", propOrder = { "aid", "coverPid", "owner", "name", "created", "modified", "description", "location", "link", "size", "visible" }) public class Album implements Equals, HashCode, ToString { protected long aid; @XmlElement(name = "cover_pid") protected long coverPid; protected long owner; @XmlElement(required = true) protected String name; protected long created; protected long modified; @XmlElement(required = true) protected String description; @XmlElement(required = true) protected String location; @XmlElement(required = true) protected String link; protected int size; protected Visible visible; /** * Gets the value of the aid property. * */ public long getAid() { return aid; } /** * Sets the value of the aid property. * */ public void setAid(long value) { this.aid = value; } /** * Gets the value of the coverPid property. * */ public long getCoverPid() { return coverPid; } /** * Sets the value of the coverPid property. * */ public void setCoverPid(long value) { this.coverPid = value; } /** * Gets the value of the owner property. * */ public long getOwner() { return owner; } /** * Sets the value of the owner property. * */ public void setOwner(long value) { this.owner = 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 created property. * */ public long getCreated() { return created; } /** * Sets the value of the created property. * */ public void setCreated(long value) { this.created = value; } /** * Gets the value of the modified property. * */ public long getModified() { return modified; } /** * Sets the value of the modified property. * */ public void setModified(long value) { this.modified = 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 location property. * * @return * possible object is * {@link String } * */ public String getLocation() { return location; } /** * Sets the value of the location property. * * @param value * allowed object is * {@link String } * */ public void setLocation(String value) { this.location = value; } /** * Gets the value of the link property. * * @return * possible object is * {@link String } * */ public String getLink() { return link; } /** * Sets the value of the link property. * * @param value * allowed object is * {@link String } * */ public void setLink(String value) { this.link = value; } /** * Gets the value of the size property. * */ public int getSize() { return size; } /** * Sets the value of the size property. * */ public void setSize(int value) { this.size = value; } /** * Gets the value of the visible property. * * @return * possible object is * {@link Visible } * */ public Visible getVisible() { return visible; } /** * Sets the value of the visible property. * * @param value * allowed object is * {@link Visible } * */ public void setVisible(Visible value) { this.visible = value; } public void toString(ToStringBuilder toStringBuilder) { { long theAid; theAid = this.getAid(); toStringBuilder.append("aid", theAid); } { long theCoverPid; theCoverPid = this.getCoverPid(); toStringBuilder.append("coverPid", theCoverPid); } { long theOwner; theOwner = this.getOwner(); toStringBuilder.append("owner", theOwner); } { String theName; theName = this.getName(); toStringBuilder.append("name", theName); } { long theCreated; theCreated = this.getCreated(); toStringBuilder.append("created", theCreated); } { long theModified; theModified = this.getModified(); toStringBuilder.append("modified", theModified); } { String theDescription; theDescription = this.getDescription(); toStringBuilder.append("description", theDescription); } { String theLocation; theLocation = this.getLocation(); toStringBuilder.append("location", theLocation); } { String theLink; theLink = this.getLink(); toStringBuilder.append("link", theLink); } { int theSize; theSize = this.getSize(); toStringBuilder.append("size", theSize); } { Visible theVisible; theVisible = this.getVisible(); toStringBuilder.append("visible", theVisible); } } public String toString() { final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this); toString(toStringBuilder); return toStringBuilder.toString(); } public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof Album)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final Album that = ((Album) object); equalsBuilder.append(this.getAid(), that.getAid()); equalsBuilder.append(this.getCoverPid(), that.getCoverPid()); equalsBuilder.append(this.getOwner(), that.getOwner()); equalsBuilder.append(this.getName(), that.getName()); equalsBuilder.append(this.getCreated(), that.getCreated()); equalsBuilder.append(this.getModified(), that.getModified()); equalsBuilder.append(this.getDescription(), that.getDescription()); equalsBuilder.append(this.getLocation(), that.getLocation()); equalsBuilder.append(this.getLink(), that.getLink()); equalsBuilder.append(this.getSize(), that.getSize()); equalsBuilder.append(this.getVisible(), that.getVisible()); } public boolean equals(Object object) { if (!(object instanceof Album)) { 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.getAid()); hashCodeBuilder.append(this.getCoverPid()); hashCodeBuilder.append(this.getOwner()); hashCodeBuilder.append(this.getName()); hashCodeBuilder.append(this.getCreated()); hashCodeBuilder.append(this.getModified()); hashCodeBuilder.append(this.getDescription()); hashCodeBuilder.append(this.getLocation()); hashCodeBuilder.append(this.getLink()); hashCodeBuilder.append(this.getSize()); hashCodeBuilder.append(this.getVisible()); } public int hashCode() { final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder(); hashCode(hashCodeBuilder); return hashCodeBuilder.toHashCode(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy