
com.google.code.facebookapi.schema.StreamData Maven / Gradle / Ivy
Show all versions of facebook-java-api-schema
//
// 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 java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
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_data complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="stream_data">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="posts">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="stream_post" type="{http://api.facebook.com/1.0/}stream_post" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="profiles">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="profile" type="{http://api.facebook.com/1.0/}profile" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="albums">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="album" type="{http://api.facebook.com/1.0/}album" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="photo_tags">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="photo_tag" type="{http://api.facebook.com/1.0/}photo_tag" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="photo_feedback">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="photo_feedback" type="{http://api.facebook.com/1.0/}photo_feedback" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="connections">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="connection" type="{http://api.facebook.com/1.0/}connection" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "stream_data", propOrder = {
"posts",
"profiles",
"albums",
"photoTags",
"photoFeedback",
"connections"
})
public class StreamData
implements Equals, HashCode, ToString
{
@XmlElement(required = true)
protected StreamData.Posts posts;
@XmlElement(required = true)
protected StreamData.Profiles profiles;
@XmlElement(required = true)
protected StreamData.Albums albums;
@XmlElement(name = "photo_tags", required = true)
protected StreamData.PhotoTags photoTags;
@XmlElement(name = "photo_feedback", required = true)
protected StreamData.PhotoFeedback photoFeedback;
@XmlElement(required = true)
protected StreamData.Connections connections;
/**
* Gets the value of the posts property.
*
* @return
* possible object is
* {@link StreamData.Posts }
*
*/
public StreamData.Posts getPosts() {
return posts;
}
/**
* Sets the value of the posts property.
*
* @param value
* allowed object is
* {@link StreamData.Posts }
*
*/
public void setPosts(StreamData.Posts value) {
this.posts = value;
}
/**
* Gets the value of the profiles property.
*
* @return
* possible object is
* {@link StreamData.Profiles }
*
*/
public StreamData.Profiles getProfiles() {
return profiles;
}
/**
* Sets the value of the profiles property.
*
* @param value
* allowed object is
* {@link StreamData.Profiles }
*
*/
public void setProfiles(StreamData.Profiles value) {
this.profiles = value;
}
/**
* Gets the value of the albums property.
*
* @return
* possible object is
* {@link StreamData.Albums }
*
*/
public StreamData.Albums getAlbums() {
return albums;
}
/**
* Sets the value of the albums property.
*
* @param value
* allowed object is
* {@link StreamData.Albums }
*
*/
public void setAlbums(StreamData.Albums value) {
this.albums = value;
}
/**
* Gets the value of the photoTags property.
*
* @return
* possible object is
* {@link StreamData.PhotoTags }
*
*/
public StreamData.PhotoTags getPhotoTags() {
return photoTags;
}
/**
* Sets the value of the photoTags property.
*
* @param value
* allowed object is
* {@link StreamData.PhotoTags }
*
*/
public void setPhotoTags(StreamData.PhotoTags value) {
this.photoTags = value;
}
/**
* Gets the value of the photoFeedback property.
*
* @return
* possible object is
* {@link StreamData.PhotoFeedback }
*
*/
public StreamData.PhotoFeedback getPhotoFeedback() {
return photoFeedback;
}
/**
* Sets the value of the photoFeedback property.
*
* @param value
* allowed object is
* {@link StreamData.PhotoFeedback }
*
*/
public void setPhotoFeedback(StreamData.PhotoFeedback value) {
this.photoFeedback = value;
}
/**
* Gets the value of the connections property.
*
* @return
* possible object is
* {@link StreamData.Connections }
*
*/
public StreamData.Connections getConnections() {
return connections;
}
/**
* Sets the value of the connections property.
*
* @param value
* allowed object is
* {@link StreamData.Connections }
*
*/
public void setConnections(StreamData.Connections value) {
this.connections = value;
}
public void toString(ToStringBuilder toStringBuilder) {
{
StreamData.Posts thePosts;
thePosts = this.getPosts();
toStringBuilder.append("posts", thePosts);
}
{
StreamData.Profiles theProfiles;
theProfiles = this.getProfiles();
toStringBuilder.append("profiles", theProfiles);
}
{
StreamData.Albums theAlbums;
theAlbums = this.getAlbums();
toStringBuilder.append("albums", theAlbums);
}
{
StreamData.PhotoTags thePhotoTags;
thePhotoTags = this.getPhotoTags();
toStringBuilder.append("photoTags", thePhotoTags);
}
{
StreamData.PhotoFeedback thePhotoFeedback;
thePhotoFeedback = this.getPhotoFeedback();
toStringBuilder.append("photoFeedback", thePhotoFeedback);
}
{
StreamData.Connections theConnections;
theConnections = this.getConnections();
toStringBuilder.append("connections", theConnections);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof StreamData)) {
equalsBuilder.appendSuper(false);
return ;
}
if (this == object) {
return ;
}
final StreamData that = ((StreamData) object);
equalsBuilder.append(this.getPosts(), that.getPosts());
equalsBuilder.append(this.getProfiles(), that.getProfiles());
equalsBuilder.append(this.getAlbums(), that.getAlbums());
equalsBuilder.append(this.getPhotoTags(), that.getPhotoTags());
equalsBuilder.append(this.getPhotoFeedback(), that.getPhotoFeedback());
equalsBuilder.append(this.getConnections(), that.getConnections());
}
public boolean equals(Object object) {
if (!(object instanceof StreamData)) {
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.getPosts());
hashCodeBuilder.append(this.getProfiles());
hashCodeBuilder.append(this.getAlbums());
hashCodeBuilder.append(this.getPhotoTags());
hashCodeBuilder.append(this.getPhotoFeedback());
hashCodeBuilder.append(this.getConnections());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="album" type="{http://api.facebook.com/1.0/}album" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"album"
})
public static class Albums
implements Equals, HashCode, ToString
{
protected List album;
@XmlAttribute
protected Boolean list;
/**
* Gets the value of the album property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the album property.
*
*
* For example, to add a new item, do as follows:
*
* getAlbum().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Album }
*
*
*/
public List getAlbum() {
if (album == null) {
album = new ArrayList();
}
return this.album;
}
/**
* Gets the value of the list property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isList() {
return list;
}
/**
* Sets the value of the list property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setList(Boolean value) {
this.list = value;
}
public void toString(ToStringBuilder toStringBuilder) {
{
List theAlbum;
theAlbum = this.getAlbum();
toStringBuilder.append("album", theAlbum);
}
{
Boolean theList;
theList = this.isList();
toStringBuilder.append("list", theList);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof StreamData.Albums)) {
equalsBuilder.appendSuper(false);
return ;
}
if (this == object) {
return ;
}
final StreamData.Albums that = ((StreamData.Albums) object);
equalsBuilder.append(this.getAlbum(), that.getAlbum());
equalsBuilder.append(this.isList(), that.isList());
}
public boolean equals(Object object) {
if (!(object instanceof StreamData.Albums)) {
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.getAlbum());
hashCodeBuilder.append(this.isList());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="connection" type="{http://api.facebook.com/1.0/}connection" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"connection"
})
public static class Connections
implements Equals, HashCode, ToString
{
protected List connection;
@XmlAttribute
protected Boolean list;
/**
* Gets the value of the connection property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the connection property.
*
*
* For example, to add a new item, do as follows:
*
* getConnection().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Connection }
*
*
*/
public List getConnection() {
if (connection == null) {
connection = new ArrayList();
}
return this.connection;
}
/**
* Gets the value of the list property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isList() {
return list;
}
/**
* Sets the value of the list property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setList(Boolean value) {
this.list = value;
}
public void toString(ToStringBuilder toStringBuilder) {
{
List theConnection;
theConnection = this.getConnection();
toStringBuilder.append("connection", theConnection);
}
{
Boolean theList;
theList = this.isList();
toStringBuilder.append("list", theList);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof StreamData.Connections)) {
equalsBuilder.appendSuper(false);
return ;
}
if (this == object) {
return ;
}
final StreamData.Connections that = ((StreamData.Connections) object);
equalsBuilder.append(this.getConnection(), that.getConnection());
equalsBuilder.append(this.isList(), that.isList());
}
public boolean equals(Object object) {
if (!(object instanceof StreamData.Connections)) {
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.getConnection());
hashCodeBuilder.append(this.isList());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="photo_feedback" type="{http://api.facebook.com/1.0/}photo_feedback" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"photoFeedback"
})
public static class PhotoFeedback
implements Equals, HashCode, ToString
{
@XmlElement(name = "photo_feedback")
protected List photoFeedback;
@XmlAttribute
protected Boolean list;
/**
* Gets the value of the photoFeedback property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the photoFeedback property.
*
*
* For example, to add a new item, do as follows:
*
* getPhotoFeedback().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link com.google.code.facebookapi.schema.PhotoFeedback }
*
*
*/
public List getPhotoFeedback() {
if (photoFeedback == null) {
photoFeedback = new ArrayList();
}
return this.photoFeedback;
}
/**
* Gets the value of the list property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isList() {
return list;
}
/**
* Sets the value of the list property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setList(Boolean value) {
this.list = value;
}
public void toString(ToStringBuilder toStringBuilder) {
{
List thePhotoFeedback;
thePhotoFeedback = this.getPhotoFeedback();
toStringBuilder.append("photoFeedback", thePhotoFeedback);
}
{
Boolean theList;
theList = this.isList();
toStringBuilder.append("list", theList);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof StreamData.PhotoFeedback)) {
equalsBuilder.appendSuper(false);
return ;
}
if (this == object) {
return ;
}
final StreamData.PhotoFeedback that = ((StreamData.PhotoFeedback) object);
equalsBuilder.append(this.getPhotoFeedback(), that.getPhotoFeedback());
equalsBuilder.append(this.isList(), that.isList());
}
public boolean equals(Object object) {
if (!(object instanceof StreamData.PhotoFeedback)) {
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.getPhotoFeedback());
hashCodeBuilder.append(this.isList());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="photo_tag" type="{http://api.facebook.com/1.0/}photo_tag" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"photoTag"
})
public static class PhotoTags
implements Equals, HashCode, ToString
{
@XmlElement(name = "photo_tag")
protected List photoTag;
@XmlAttribute
protected Boolean list;
/**
* Gets the value of the photoTag property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the photoTag property.
*
*
* For example, to add a new item, do as follows:
*
* getPhotoTag().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PhotoTag }
*
*
*/
public List getPhotoTag() {
if (photoTag == null) {
photoTag = new ArrayList();
}
return this.photoTag;
}
/**
* Gets the value of the list property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isList() {
return list;
}
/**
* Sets the value of the list property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setList(Boolean value) {
this.list = value;
}
public void toString(ToStringBuilder toStringBuilder) {
{
List thePhotoTag;
thePhotoTag = this.getPhotoTag();
toStringBuilder.append("photoTag", thePhotoTag);
}
{
Boolean theList;
theList = this.isList();
toStringBuilder.append("list", theList);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof StreamData.PhotoTags)) {
equalsBuilder.appendSuper(false);
return ;
}
if (this == object) {
return ;
}
final StreamData.PhotoTags that = ((StreamData.PhotoTags) object);
equalsBuilder.append(this.getPhotoTag(), that.getPhotoTag());
equalsBuilder.append(this.isList(), that.isList());
}
public boolean equals(Object object) {
if (!(object instanceof StreamData.PhotoTags)) {
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.getPhotoTag());
hashCodeBuilder.append(this.isList());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="stream_post" type="{http://api.facebook.com/1.0/}stream_post" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"streamPost"
})
public static class Posts
implements Equals, HashCode, ToString
{
@XmlElement(name = "stream_post")
protected List streamPost;
@XmlAttribute
protected Boolean list;
/**
* Gets the value of the streamPost property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the streamPost property.
*
*
* For example, to add a new item, do as follows:
*
* getStreamPost().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link StreamPost }
*
*
*/
public List getStreamPost() {
if (streamPost == null) {
streamPost = new ArrayList();
}
return this.streamPost;
}
/**
* Gets the value of the list property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isList() {
return list;
}
/**
* Sets the value of the list property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setList(Boolean value) {
this.list = value;
}
public void toString(ToStringBuilder toStringBuilder) {
{
List theStreamPost;
theStreamPost = this.getStreamPost();
toStringBuilder.append("streamPost", theStreamPost);
}
{
Boolean theList;
theList = this.isList();
toStringBuilder.append("list", theList);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof StreamData.Posts)) {
equalsBuilder.appendSuper(false);
return ;
}
if (this == object) {
return ;
}
final StreamData.Posts that = ((StreamData.Posts) object);
equalsBuilder.append(this.getStreamPost(), that.getStreamPost());
equalsBuilder.append(this.isList(), that.isList());
}
public boolean equals(Object object) {
if (!(object instanceof StreamData.Posts)) {
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.getStreamPost());
hashCodeBuilder.append(this.isList());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence maxOccurs="unbounded" minOccurs="0">
* <element name="profile" type="{http://api.facebook.com/1.0/}profile" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"profile"
})
public static class Profiles
implements Equals, HashCode, ToString
{
protected List profile;
@XmlAttribute
protected Boolean list;
/**
* Gets the value of the profile property.
*
*
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a set
method for the profile property.
*
*
* For example, to add a new item, do as follows:
*
* getProfile().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Profile }
*
*
*/
public List getProfile() {
if (profile == null) {
profile = new ArrayList();
}
return this.profile;
}
/**
* Gets the value of the list property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isList() {
return list;
}
/**
* Sets the value of the list property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setList(Boolean value) {
this.list = value;
}
public void toString(ToStringBuilder toStringBuilder) {
{
List theProfile;
theProfile = this.getProfile();
toStringBuilder.append("profile", theProfile);
}
{
Boolean theList;
theList = this.isList();
toStringBuilder.append("list", theList);
}
}
public String toString() {
final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this);
toString(toStringBuilder);
return toStringBuilder.toString();
}
public void equals(Object object, EqualsBuilder equalsBuilder) {
if (!(object instanceof StreamData.Profiles)) {
equalsBuilder.appendSuper(false);
return ;
}
if (this == object) {
return ;
}
final StreamData.Profiles that = ((StreamData.Profiles) object);
equalsBuilder.append(this.getProfile(), that.getProfile());
equalsBuilder.append(this.isList(), that.isList());
}
public boolean equals(Object object) {
if (!(object instanceof StreamData.Profiles)) {
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.getProfile());
hashCodeBuilder.append(this.isList());
}
public int hashCode() {
final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder();
hashCode(hashCodeBuilder);
return hashCodeBuilder.toHashCode();
}
}
}