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

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

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

 * <complexType name="template_bundle">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="one_line_story_templates">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence maxOccurs="unbounded" minOccurs="0">
 *                   <element name="one_line_story_template" type="{http://api.facebook.com/1.0/}one_line_story_template" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="short_story_templates">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence maxOccurs="unbounded" minOccurs="0">
 *                   <element name="short_story_template" type="{http://api.facebook.com/1.0/}short_story_template" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="full_story_template" type="{http://api.facebook.com/1.0/}full_story_template"/>
 *         <element name="action_links">
 *           <complexType>
 *             <complexContent>
 *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *                 <sequence maxOccurs="unbounded" minOccurs="0">
 *                   <element name="action_link" type="{http://api.facebook.com/1.0/}action_link" maxOccurs="unbounded" minOccurs="0"/>
 *                 </sequence>
 *                 <attribute name="list" type="{http://www.w3.org/2001/XMLSchema}boolean" />
 *               </restriction>
 *             </complexContent>
 *           </complexType>
 *         </element>
 *         <element name="time_created" type="{http://api.facebook.com/1.0/}time"/>
 *         <element name="template_bundle_id" type="{http://api.facebook.com/1.0/}tbid"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "template_bundle", propOrder = { "oneLineStoryTemplates", "shortStoryTemplates", "fullStoryTemplate", "actionLinks", "timeCreated", "templateBundleId" }) public class TemplateBundle implements Equals, HashCode, ToString { @XmlElement(name = "one_line_story_templates", required = true) protected TemplateBundle.OneLineStoryTemplates oneLineStoryTemplates; @XmlElement(name = "short_story_templates", required = true) protected TemplateBundle.ShortStoryTemplates shortStoryTemplates; @XmlElement(name = "full_story_template", required = true) protected FullStoryTemplate fullStoryTemplate; @XmlElement(name = "action_links", required = true) protected TemplateBundle.ActionLinks actionLinks; @XmlElement(name = "time_created") protected long timeCreated; @XmlElement(name = "template_bundle_id") protected long templateBundleId; /** * Gets the value of the oneLineStoryTemplates property. * * @return * possible object is * {@link TemplateBundle.OneLineStoryTemplates } * */ public TemplateBundle.OneLineStoryTemplates getOneLineStoryTemplates() { return oneLineStoryTemplates; } /** * Sets the value of the oneLineStoryTemplates property. * * @param value * allowed object is * {@link TemplateBundle.OneLineStoryTemplates } * */ public void setOneLineStoryTemplates(TemplateBundle.OneLineStoryTemplates value) { this.oneLineStoryTemplates = value; } /** * Gets the value of the shortStoryTemplates property. * * @return * possible object is * {@link TemplateBundle.ShortStoryTemplates } * */ public TemplateBundle.ShortStoryTemplates getShortStoryTemplates() { return shortStoryTemplates; } /** * Sets the value of the shortStoryTemplates property. * * @param value * allowed object is * {@link TemplateBundle.ShortStoryTemplates } * */ public void setShortStoryTemplates(TemplateBundle.ShortStoryTemplates value) { this.shortStoryTemplates = value; } /** * Gets the value of the fullStoryTemplate property. * * @return * possible object is * {@link FullStoryTemplate } * */ public FullStoryTemplate getFullStoryTemplate() { return fullStoryTemplate; } /** * Sets the value of the fullStoryTemplate property. * * @param value * allowed object is * {@link FullStoryTemplate } * */ public void setFullStoryTemplate(FullStoryTemplate value) { this.fullStoryTemplate = value; } /** * Gets the value of the actionLinks property. * * @return * possible object is * {@link TemplateBundle.ActionLinks } * */ public TemplateBundle.ActionLinks getActionLinks() { return actionLinks; } /** * Sets the value of the actionLinks property. * * @param value * allowed object is * {@link TemplateBundle.ActionLinks } * */ public void setActionLinks(TemplateBundle.ActionLinks value) { this.actionLinks = value; } /** * Gets the value of the timeCreated property. * */ public long getTimeCreated() { return timeCreated; } /** * Sets the value of the timeCreated property. * */ public void setTimeCreated(long value) { this.timeCreated = value; } /** * Gets the value of the templateBundleId property. * */ public long getTemplateBundleId() { return templateBundleId; } /** * Sets the value of the templateBundleId property. * */ public void setTemplateBundleId(long value) { this.templateBundleId = value; } public void toString(ToStringBuilder toStringBuilder) { { TemplateBundle.OneLineStoryTemplates theOneLineStoryTemplates; theOneLineStoryTemplates = this.getOneLineStoryTemplates(); toStringBuilder.append("oneLineStoryTemplates", theOneLineStoryTemplates); } { TemplateBundle.ShortStoryTemplates theShortStoryTemplates; theShortStoryTemplates = this.getShortStoryTemplates(); toStringBuilder.append("shortStoryTemplates", theShortStoryTemplates); } { FullStoryTemplate theFullStoryTemplate; theFullStoryTemplate = this.getFullStoryTemplate(); toStringBuilder.append("fullStoryTemplate", theFullStoryTemplate); } { TemplateBundle.ActionLinks theActionLinks; theActionLinks = this.getActionLinks(); toStringBuilder.append("actionLinks", theActionLinks); } { long theTimeCreated; theTimeCreated = this.getTimeCreated(); toStringBuilder.append("timeCreated", theTimeCreated); } { long theTemplateBundleId; theTemplateBundleId = this.getTemplateBundleId(); toStringBuilder.append("templateBundleId", theTemplateBundleId); } } public String toString() { final ToStringBuilder toStringBuilder = new JAXBToStringBuilder(this); toString(toStringBuilder); return toStringBuilder.toString(); } public void equals(Object object, EqualsBuilder equalsBuilder) { if (!(object instanceof TemplateBundle)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final TemplateBundle that = ((TemplateBundle) object); equalsBuilder.append(this.getOneLineStoryTemplates(), that.getOneLineStoryTemplates()); equalsBuilder.append(this.getShortStoryTemplates(), that.getShortStoryTemplates()); equalsBuilder.append(this.getFullStoryTemplate(), that.getFullStoryTemplate()); equalsBuilder.append(this.getActionLinks(), that.getActionLinks()); equalsBuilder.append(this.getTimeCreated(), that.getTimeCreated()); equalsBuilder.append(this.getTemplateBundleId(), that.getTemplateBundleId()); } public boolean equals(Object object) { if (!(object instanceof TemplateBundle)) { 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.getOneLineStoryTemplates()); hashCodeBuilder.append(this.getShortStoryTemplates()); hashCodeBuilder.append(this.getFullStoryTemplate()); hashCodeBuilder.append(this.getActionLinks()); hashCodeBuilder.append(this.getTimeCreated()); hashCodeBuilder.append(this.getTemplateBundleId()); } 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="action_link" type="{http://api.facebook.com/1.0/}action_link" 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 = { "actionLink" }) public static class ActionLinks implements Equals, HashCode, ToString { @XmlElement(name = "action_link") protected List actionLink; @XmlAttribute protected Boolean list; /** * Gets the value of the actionLink 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 actionLink property. * *

* For example, to add a new item, do as follows: *

         *    getActionLink().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ActionLink } * * */ public List getActionLink() { if (actionLink == null) { actionLink = new ArrayList(); } return this.actionLink; } /** * 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 theActionLink; theActionLink = this.getActionLink(); toStringBuilder.append("actionLink", theActionLink); } { 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 TemplateBundle.ActionLinks)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final TemplateBundle.ActionLinks that = ((TemplateBundle.ActionLinks) object); equalsBuilder.append(this.getActionLink(), that.getActionLink()); equalsBuilder.append(this.isList(), that.isList()); } public boolean equals(Object object) { if (!(object instanceof TemplateBundle.ActionLinks)) { 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.getActionLink()); 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="one_line_story_template" type="{http://api.facebook.com/1.0/}one_line_story_template" 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 = { "oneLineStoryTemplate" }) public static class OneLineStoryTemplates implements Equals, HashCode, ToString { @XmlElement(name = "one_line_story_template") protected List oneLineStoryTemplate; @XmlAttribute protected Boolean list; /** * Gets the value of the oneLineStoryTemplate 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 oneLineStoryTemplate property. * *

* For example, to add a new item, do as follows: *

         *    getOneLineStoryTemplate().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getOneLineStoryTemplate() { if (oneLineStoryTemplate == null) { oneLineStoryTemplate = new ArrayList(); } return this.oneLineStoryTemplate; } /** * 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 theOneLineStoryTemplate; theOneLineStoryTemplate = this.getOneLineStoryTemplate(); toStringBuilder.append("oneLineStoryTemplate", theOneLineStoryTemplate); } { 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 TemplateBundle.OneLineStoryTemplates)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final TemplateBundle.OneLineStoryTemplates that = ((TemplateBundle.OneLineStoryTemplates) object); equalsBuilder.append(this.getOneLineStoryTemplate(), that.getOneLineStoryTemplate()); equalsBuilder.append(this.isList(), that.isList()); } public boolean equals(Object object) { if (!(object instanceof TemplateBundle.OneLineStoryTemplates)) { 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.getOneLineStoryTemplate()); 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="short_story_template" type="{http://api.facebook.com/1.0/}short_story_template" 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 = { "shortStoryTemplate" }) public static class ShortStoryTemplates implements Equals, HashCode, ToString { @XmlElement(name = "short_story_template") protected List shortStoryTemplate; @XmlAttribute protected Boolean list; /** * Gets the value of the shortStoryTemplate 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 shortStoryTemplate property. * *

* For example, to add a new item, do as follows: *

         *    getShortStoryTemplate().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link ShortStoryTemplate } * * */ public List getShortStoryTemplate() { if (shortStoryTemplate == null) { shortStoryTemplate = new ArrayList(); } return this.shortStoryTemplate; } /** * 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 theShortStoryTemplate; theShortStoryTemplate = this.getShortStoryTemplate(); toStringBuilder.append("shortStoryTemplate", theShortStoryTemplate); } { 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 TemplateBundle.ShortStoryTemplates)) { equalsBuilder.appendSuper(false); return ; } if (this == object) { return ; } final TemplateBundle.ShortStoryTemplates that = ((TemplateBundle.ShortStoryTemplates) object); equalsBuilder.append(this.getShortStoryTemplate(), that.getShortStoryTemplate()); equalsBuilder.append(this.isList(), that.isList()); } public boolean equals(Object object) { if (!(object instanceof TemplateBundle.ShortStoryTemplates)) { 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.getShortStoryTemplate()); hashCodeBuilder.append(this.isList()); } public int hashCode() { final HashCodeBuilder hashCodeBuilder = new JAXBHashCodeBuilder(); hashCode(hashCodeBuilder); return hashCodeBuilder.toHashCode(); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy