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

ebay.apis.shopping.eblbasecomponents.BuyingGuideType Maven / Gradle / Ivy

Go to download

This Java client enables you to use Java to make API calls in the eBay Shopping API, which is an XML API. This maven build is simply the Apache CXF generated client code for the Shopping API WSDL.

The newest version!

package ebay.apis.shopping.eblbasecomponents;

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.XmlAnyElement;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.w3c.dom.Element;


/**
 * 
 * 				Information that identifies a buying guide. A buying guide provides content about particular
 * 				product areas, categories, or subjects to help buyers decide which type of item
 * 				to purchase based on their particular interests.
 * 				Buying guides are useful to buyers who do not have a specific product in mind.
 * 				For example, a digital camera buying guide could help a buyer determine what kind of
 * 				digital camera is right for them.
 * 			
 * 
 * 

Java class for BuyingGuideType complex type. * *

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

 * <complexType name="BuyingGuideType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="URL" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
 *         <element name="CategoryID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Title" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="Text" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <element name="CreationTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
 *         <element name="UserID" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
 *         <any processContents='lax' maxOccurs="unbounded" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "BuyingGuideType", propOrder = { "name", "url", "categoryID", "title", "text", "creationTime", "userID", "any" }) public class BuyingGuideType { @XmlElement(name = "Name") protected String name; @XmlElement(name = "URL") @XmlSchemaType(name = "anyURI") protected String url; @XmlElement(name = "CategoryID") protected String categoryID; @XmlElement(name = "Title") protected String title; @XmlElement(name = "Text") protected String text; @XmlElement(name = "CreationTime") @XmlSchemaType(name = "dateTime") protected XMLGregorianCalendar creationTime; @XmlElement(name = "UserID") protected String userID; @XmlAnyElement(lax = true) protected List any; /** * 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 url property. * * @return * possible object is * {@link String } * */ public String getURL() { return url; } /** * Sets the value of the url property. * * @param value * allowed object is * {@link String } * */ public void setURL(String value) { this.url = value; } /** * Gets the value of the categoryID property. * * @return * possible object is * {@link String } * */ public String getCategoryID() { return categoryID; } /** * Sets the value of the categoryID property. * * @param value * allowed object is * {@link String } * */ public void setCategoryID(String value) { this.categoryID = value; } /** * Gets the value of the title property. * * @return * possible object is * {@link String } * */ public String getTitle() { return title; } /** * Sets the value of the title property. * * @param value * allowed object is * {@link String } * */ public void setTitle(String value) { this.title = value; } /** * Gets the value of the text property. * * @return * possible object is * {@link String } * */ public String getText() { return text; } /** * Sets the value of the text property. * * @param value * allowed object is * {@link String } * */ public void setText(String value) { this.text = value; } /** * Gets the value of the creationTime property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getCreationTime() { return creationTime; } /** * Sets the value of the creationTime property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setCreationTime(XMLGregorianCalendar value) { this.creationTime = value; } /** * Gets the value of the userID property. * * @return * possible object is * {@link String } * */ public String getUserID() { return userID; } /** * Sets the value of the userID property. * * @param value * allowed object is * {@link String } * */ public void setUserID(String value) { this.userID = value; } /** * Gets the value of the any 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 any property. * *

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

     *    getAny().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Object } * {@link Element } * * */ public List getAny() { if (any == null) { any = new ArrayList(); } return this.any; } }