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

com.google.code.facebookapi.schema.StreamMedia 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-833 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2009.12.02 at 03:06:46 PM PST 
//


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 stream_media complex type. * *

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

 * <complexType name="stream_media">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="href" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="alt" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="type" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="src" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="video" type="{http://api.facebook.com/1.0/}stream_video"/>
 *         <element name="obj" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="music" type="{http://api.facebook.com/1.0/}stream_music"/>
 *         <element name="data" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         <element name="photo" type="{http://api.facebook.com/1.0/}stream_photo"/>
 *         <element name="swf" type="{http://api.facebook.com/1.0/}stream_swf"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "stream_media", propOrder = { "href", "alt", "type", "src", "video", "obj", "music", "data", "photo", "swf" }) public class StreamMedia implements Equals, HashCode, ToString { @XmlElement(required = true) protected String href; @XmlElement(required = true) protected String alt; @XmlElement(required = true) protected String type; @XmlElement(required = true) protected String src; @XmlElement(required = true) protected StreamVideo video; @XmlElement(required = true) protected String obj; @XmlElement(required = true) protected StreamMusic music; @XmlElement(required = true) protected String data; @XmlElement(required = true) protected StreamPhoto photo; @XmlElement(required = true) protected StreamSwf swf; /** * Gets the value of the href property. * * @return * possible object is * {@link String } * */ public String getHref() { return href; } /** * Sets the value of the href property. * * @param value * allowed object is * {@link String } * */ public void setHref(String value) { this.href = value; } /** * Gets the value of the alt property. * * @return * possible object is * {@link String } * */ public String getAlt() { return alt; } /** * Sets the value of the alt property. * * @param value * allowed object is * {@link String } * */ public void setAlt(String value) { this.alt = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the src property. * * @return * possible object is * {@link String } * */ public String getSrc() { return src; } /** * Sets the value of the src property. * * @param value * allowed object is * {@link String } * */ public void setSrc(String value) { this.src = value; } /** * Gets the value of the video property. * * @return * possible object is * {@link StreamVideo } * */ public StreamVideo getVideo() { return video; } /** * Sets the value of the video property. * * @param value * allowed object is * {@link StreamVideo } * */ public void setVideo(StreamVideo value) { this.video = value; } /** * Gets the value of the obj property. * * @return * possible object is * {@link String } * */ public String getObj() { return obj; } /** * Sets the value of the obj property. * * @param value * allowed object is * {@link String } * */ public void setObj(String value) { this.obj = value; } /** * Gets the value of the music property. * * @return * possible object is * {@link StreamMusic } * */ public StreamMusic getMusic() { return music; } /** * Sets the value of the music property. * * @param value * allowed object is * {@link StreamMusic } * */ public void setMusic(StreamMusic value) { this.music = value; } /** * Gets the value of the data property. * * @return * possible object is * {@link String } * */ public String getData() { return data; } /** * Sets the value of the data property. * * @param value * allowed object is * {@link String } * */ public void setData(String value) { this.data = value; } /** * Gets the value of the photo property. * * @return * possible object is * {@link StreamPhoto } * */ public StreamPhoto getPhoto() { return photo; } /** * Sets the value of the photo property. * * @param value * allowed object is * {@link StreamPhoto } * */ public void setPhoto(StreamPhoto value) { this.photo = value; } /** * Gets the value of the swf property. * * @return * possible object is * {@link StreamSwf } * */ public StreamSwf getSwf() { return swf; } /** * Sets the value of the swf property. * * @param value * allowed object is * {@link StreamSwf } * */ public void setSwf(StreamSwf value) { this.swf = value; } public void toString(ToStringBuilder toStringBuilder) { { String theHref; theHref = this.getHref(); toStringBuilder.append("href", theHref); } { String theAlt; theAlt = this.getAlt(); toStringBuilder.append("alt", theAlt); } { String theType; theType = this.getType(); toStringBuilder.append("type", theType); } { String theSrc; theSrc = this.getSrc(); toStringBuilder.append("src", theSrc); } { StreamVideo theVideo; theVideo = this.getVideo(); toStringBuilder.append("video", theVideo); } { String theObj; theObj = this.getObj(); toStringBuilder.append("obj", theObj); } { StreamMusic theMusic; theMusic = this.getMusic(); toStringBuilder.append("music", theMusic); } { String theData; theData = this.getData(); toStringBuilder.append("data", theData); } { StreamPhoto thePhoto; thePhoto = this.getPhoto(); toStringBuilder.append("photo", thePhoto); } { StreamSwf theSwf; theSwf = this.getSwf(); toStringBuilder.append("swf", theSwf); } } public String toString() { final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this); toString(toStringBuilder); return toStringBuilder.toString(); } public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof StreamMedia)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final StreamMedia that = ((StreamMedia) object); equalsBuilder.append(this.getHref(), that.getHref()); equalsBuilder.append(this.getAlt(), that.getAlt()); equalsBuilder.append(this.getType(), that.getType()); equalsBuilder.append(this.getSrc(), that.getSrc()); equalsBuilder.append(this.getVideo(), that.getVideo()); equalsBuilder.append(this.getObj(), that.getObj()); equalsBuilder.append(this.getMusic(), that.getMusic()); equalsBuilder.append(this.getData(), that.getData()); equalsBuilder.append(this.getPhoto(), that.getPhoto()); equalsBuilder.append(this.getSwf(), that.getSwf()); } public boolean equals(Object object) { if (!(object instanceof StreamMedia)) { 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.getHref()); hashCodeBuilder.append(this.getAlt()); hashCodeBuilder.append(this.getType()); hashCodeBuilder.append(this.getSrc()); hashCodeBuilder.append(this.getVideo()); hashCodeBuilder.append(this.getObj()); hashCodeBuilder.append(this.getMusic()); hashCodeBuilder.append(this.getData()); hashCodeBuilder.append(this.getPhoto()); hashCodeBuilder.append(this.getSwf()); } public int hashCode() { final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder(); hashCode(hashCodeBuilder); return hashCodeBuilder.toHashCode(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy