Blame | Last modification | View Log | RSS feed
//// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>// Any modifications to this file will be lost upon recompilation of the source schema.// Generated on: 2013.03.04 at 03:49:29 PM IST//package in.shop2020.feeds.products;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;import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;/*** <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="ParentSKU" type="{}SKUType"/>* <element name="Relation" maxOccurs="unbounded">* <complexType>* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element ref="{}SKU"/>* <element name="Type">* <simpleType>* <restriction base="{http://www.w3.org/2001/XMLSchema}string">* <enumeration value="Variation"/>* <enumeration value="DisplaySet"/>* <enumeration value="Collection"/>* <enumeration value="Accessory"/>* <enumeration value="Customized"/>* <enumeration value="Part"/>* <enumeration value="Complements"/>* <enumeration value="Piece"/>* <enumeration value="Necessary"/>* <enumeration value="ReplacementPart"/>* <enumeration value="Similar"/>* <enumeration value="Episode"/>* <enumeration value="Season"/>* </restriction>* </simpleType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </pre>***/@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "", propOrder = {"parentSKU","relation"})@XmlRootElement(name = "Relationship")public class Relationship {@XmlElement(name = "ParentSKU", required = true)@XmlJavaTypeAdapter(NormalizedStringAdapter.class)protected String parentSKU;@XmlElement(name = "Relation", required = true)protected List<Relationship.Relation> relation;/*** Gets the value of the parentSKU property.** @return* possible object is* {@link String }**/public String getParentSKU() {return parentSKU;}/*** Sets the value of the parentSKU property.** @param value* allowed object is* {@link String }**/public void setParentSKU(String value) {this.parentSKU = value;}/*** Gets the value of the relation 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 relation property.** <p>* For example, to add a new item, do as follows:* <pre>* getRelation().add(newItem);* </pre>*** <p>* Objects of the following type(s) are allowed in the list* {@link Relationship.Relation }***/public List<Relationship.Relation> getRelation() {if (relation == null) {relation = new ArrayList<Relationship.Relation>();}return this.relation;}/*** <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="{}SKU"/>* <element name="Type">* <simpleType>* <restriction base="{http://www.w3.org/2001/XMLSchema}string">* <enumeration value="Variation"/>* <enumeration value="DisplaySet"/>* <enumeration value="Collection"/>* <enumeration value="Accessory"/>* <enumeration value="Customized"/>* <enumeration value="Part"/>* <enumeration value="Complements"/>* <enumeration value="Piece"/>* <enumeration value="Necessary"/>* <enumeration value="ReplacementPart"/>* <enumeration value="Similar"/>* <enumeration value="Episode"/>* <enumeration value="Season"/>* </restriction>* </simpleType>* </element>* </sequence>* </restriction>* </complexContent>* </complexType>* </pre>***/@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "", propOrder = {"sku","type"})public static class Relation {@XmlElement(name = "SKU", required = true)@XmlJavaTypeAdapter(NormalizedStringAdapter.class)protected String sku;@XmlElement(name = "Type", required = true)protected String type;/*** Gets the value of the sku property.** @return* possible object is* {@link String }**/public String getSKU() {return sku;}/*** Sets the value of the sku property.** @param value* allowed object is* {@link String }**/public void setSKU(String value) {this.sku = 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;}}}