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

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

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

 * <complexType name="feed_story">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="story_title" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="story_body" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="images" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="flash" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="mp3" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="video" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="time_published" type="{http://api.facebook.com/1.0/}time"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "feed_story", propOrder = { "storyTitle", "storyBody", "images", "flash", "mp3", "video", "timePublished" }) public class FeedStory implements Equals, HashCode, ToString { @XmlElement(name = "story_title", required = true) protected String storyTitle; @XmlElement(name = "story_body") protected String storyBody; protected String images; protected String flash; protected String mp3; protected String video; @XmlElement(name = "time_published") protected long timePublished; /** * Gets the value of the storyTitle property. * * @return * possible object is * {@link String } * */ public String getStoryTitle() { return storyTitle; } /** * Sets the value of the storyTitle property. * * @param value * allowed object is * {@link String } * */ public void setStoryTitle(String value) { this.storyTitle = value; } /** * Gets the value of the storyBody property. * * @return * possible object is * {@link String } * */ public String getStoryBody() { return storyBody; } /** * Sets the value of the storyBody property. * * @param value * allowed object is * {@link String } * */ public void setStoryBody(String value) { this.storyBody = value; } /** * Gets the value of the images property. * * @return * possible object is * {@link String } * */ public String getImages() { return images; } /** * Sets the value of the images property. * * @param value * allowed object is * {@link String } * */ public void setImages(String value) { this.images = value; } /** * Gets the value of the flash property. * * @return * possible object is * {@link String } * */ public String getFlash() { return flash; } /** * Sets the value of the flash property. * * @param value * allowed object is * {@link String } * */ public void setFlash(String value) { this.flash = value; } /** * Gets the value of the mp3 property. * * @return * possible object is * {@link String } * */ public String getMp3() { return mp3; } /** * Sets the value of the mp3 property. * * @param value * allowed object is * {@link String } * */ public void setMp3(String value) { this.mp3 = value; } /** * Gets the value of the video property. * * @return * possible object is * {@link String } * */ public String getVideo() { return video; } /** * Sets the value of the video property. * * @param value * allowed object is * {@link String } * */ public void setVideo(String value) { this.video = value; } /** * Gets the value of the timePublished property. * */ public long getTimePublished() { return timePublished; } /** * Sets the value of the timePublished property. * */ public void setTimePublished(long value) { this.timePublished = value; } public void toString(ToStringBuilder toStringBuilder) { { String theStoryTitle; theStoryTitle = this.getStoryTitle(); toStringBuilder.append("storyTitle", theStoryTitle); } { String theStoryBody; theStoryBody = this.getStoryBody(); toStringBuilder.append("storyBody", theStoryBody); } { String theImages; theImages = this.getImages(); toStringBuilder.append("images", theImages); } { String theFlash; theFlash = this.getFlash(); toStringBuilder.append("flash", theFlash); } { String theMp3; theMp3 = this.getMp3(); toStringBuilder.append("mp3", theMp3); } { String theVideo; theVideo = this.getVideo(); toStringBuilder.append("video", theVideo); } { long theTimePublished; theTimePublished = this.getTimePublished(); toStringBuilder.append("timePublished", theTimePublished); } } public String toString() { final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this); toString(toStringBuilder); return toStringBuilder.toString(); } public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof FeedStory)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final FeedStory that = ((FeedStory) object); equalsBuilder.append(this.getStoryTitle(), that.getStoryTitle()); equalsBuilder.append(this.getStoryBody(), that.getStoryBody()); equalsBuilder.append(this.getImages(), that.getImages()); equalsBuilder.append(this.getFlash(), that.getFlash()); equalsBuilder.append(this.getMp3(), that.getMp3()); equalsBuilder.append(this.getVideo(), that.getVideo()); equalsBuilder.append(this.getTimePublished(), that.getTimePublished()); } public boolean equals(Object object) { if (!(object instanceof FeedStory)) { 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.getStoryTitle()); hashCodeBuilder.append(this.getStoryBody()); hashCodeBuilder.append(this.getImages()); hashCodeBuilder.append(this.getFlash()); hashCodeBuilder.append(this.getMp3()); hashCodeBuilder.append(this.getVideo()); hashCodeBuilder.append(this.getTimePublished()); } public int hashCode() { final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder(); hashCode(hashCodeBuilder); return hashCodeBuilder.toHashCode(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy