/* * Copyright (C) 2011 Toshiaki Maki <makingx@gmail.com> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package am.ik.aws.apa.jaxws; 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.XmlElement; import javax.xml.bind.annotation.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="BrowseNodeId" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> * <element name="IsCategoryRoot" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> * <element name="Properties" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Property" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="Children" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNode" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="Ancestors" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNode" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}TopSellers" minOccurs="0"/> * <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}NewReleases" minOccurs="0"/> * <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}TopItemSet" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "browseNodeId", "name", "isCategoryRoot", "properties", "children", "ancestors", "topSellers", "newReleases", "topItemSet" }) @XmlRootElement(name = "BrowseNode") public class BrowseNode { @XmlElement(name = "BrowseNodeId") protected String browseNodeId; @XmlElement(name = "Name") protected String name; @XmlElement(name = "IsCategoryRoot") protected Boolean isCategoryRoot; @XmlElement(name = "Properties") protected BrowseNode.Properties properties; @XmlElement(name = "Children") protected BrowseNode.Children children; @XmlElement(name = "Ancestors") protected BrowseNode.Ancestors ancestors; @XmlElement(name = "TopSellers") protected TopSellers topSellers; @XmlElement(name = "NewReleases") protected NewReleases newReleases; @XmlElement(name = "TopItemSet") protected List<TopItemSet> topItemSet; /** * Gets the value of the browseNodeId property. * * @return possible object is {@link String } * */ public String getBrowseNodeId() { return browseNodeId; } /** * Sets the value of the browseNodeId property. * * @param value * allowed object is {@link String } * */ public void setBrowseNodeId(String value) { this.browseNodeId = value; } /** * 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 isCategoryRoot property. * * @return possible object is {@link Boolean } * */ public Boolean isIsCategoryRoot() { return isCategoryRoot; } /** * Sets the value of the isCategoryRoot property. * * @param value * allowed object is {@link Boolean } * */ public void setIsCategoryRoot(Boolean value) { this.isCategoryRoot = value; } /** * Gets the value of the properties property. * * @return possible object is {@link BrowseNode.Properties } * */ public BrowseNode.Properties getProperties() { return properties; } /** * Sets the value of the properties property. * * @param value * allowed object is {@link BrowseNode.Properties } * */ public void setProperties(BrowseNode.Properties value) { this.properties = value; } /** * Gets the value of the children property. * * @return possible object is {@link BrowseNode.Children } * */ public BrowseNode.Children getChildren() { return children; } /** * Sets the value of the children property. * * @param value * allowed object is {@link BrowseNode.Children } * */ public void setChildren(BrowseNode.Children value) { this.children = value; } /** * Gets the value of the ancestors property. * * @return possible object is {@link BrowseNode.Ancestors } * */ public BrowseNode.Ancestors getAncestors() { return ancestors; } /** * Sets the value of the ancestors property. * * @param value * allowed object is {@link BrowseNode.Ancestors } * */ public void setAncestors(BrowseNode.Ancestors value) { this.ancestors = value; } /** * Gets the value of the topSellers property. * * @return possible object is {@link TopSellers } * */ public TopSellers getTopSellers() { return topSellers; } /** * Sets the value of the topSellers property. * * @param value * allowed object is {@link TopSellers } * */ public void setTopSellers(TopSellers value) { this.topSellers = value; } /** * Gets the value of the newReleases property. * * @return possible object is {@link NewReleases } * */ public NewReleases getNewReleases() { return newReleases; } /** * Sets the value of the newReleases property. * * @param value * allowed object is {@link NewReleases } * */ public void setNewReleases(NewReleases value) { this.newReleases = value; } /** * Gets the value of the topItemSet property. * * <p> * 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 * <CODE>set</CODE> method for the topItemSet property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getTopItemSet().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link TopItemSet } * * */ public List<TopItemSet> getTopItemSet() { if (topItemSet == null) { topItemSet = new ArrayList<TopItemSet>(); } return this.topItemSet; } /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained * within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNode" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "browseNode" }) public static class Ancestors { @XmlElement(name = "BrowseNode", required = true) protected List<BrowseNode> browseNode; /** * Gets the value of the browseNode property. * * <p> * 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 * <CODE>set</CODE> method for the browseNode property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getBrowseNode().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link BrowseNode } * * */ public List<BrowseNode> getBrowseNode() { if (browseNode == null) { browseNode = new ArrayList<BrowseNode>(); } return this.browseNode; } } /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained * within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}BrowseNode" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "browseNode" }) public static class Children { @XmlElement(name = "BrowseNode", required = true) protected List<BrowseNode> browseNode; /** * Gets the value of the browseNode property. * * <p> * 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 * <CODE>set</CODE> method for the browseNode property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getBrowseNode().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link BrowseNode } * * */ public List<BrowseNode> getBrowseNode() { if (browseNode == null) { browseNode = new ArrayList<BrowseNode>(); } return this.browseNode; } } /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained * within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element ref="{http://webservices.amazon.com/AWSECommerceService/2011-08-01}Property" maxOccurs="unbounded"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "property" }) public static class Properties { @XmlElement(name = "Property", required = true) protected List<Property> property; /** * Gets the value of the property property. * * <p> * 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 * <CODE>set</CODE> method for the property property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getProperty().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link Property } * * */ public List<Property> getProperty() { if (property == null) { property = new ArrayList<Property>(); } return this.property; } } }