| 7487 |
kshitij.so |
1 |
//
|
|
|
2 |
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vJAXB 2.1.10 in JDK 6
|
|
|
3 |
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
|
|
|
4 |
// Any modifications to this file will be lost upon recompilation of the source schema.
|
|
|
5 |
// Generated on: 2013.03.04 at 03:49:29 PM IST
|
|
|
6 |
//
|
|
|
7 |
|
|
|
8 |
|
|
|
9 |
package in.shop2020.feeds.products;
|
|
|
10 |
|
|
|
11 |
import java.util.ArrayList;
|
|
|
12 |
import java.util.List;
|
|
|
13 |
import javax.xml.bind.annotation.XmlAccessType;
|
|
|
14 |
import javax.xml.bind.annotation.XmlAccessorType;
|
|
|
15 |
import javax.xml.bind.annotation.XmlElement;
|
|
|
16 |
import javax.xml.bind.annotation.XmlRootElement;
|
|
|
17 |
import javax.xml.bind.annotation.XmlType;
|
|
|
18 |
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
|
|
|
19 |
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
|
|
|
20 |
|
|
|
21 |
|
|
|
22 |
/**
|
|
|
23 |
* <p>Java class for anonymous complex type.
|
|
|
24 |
*
|
|
|
25 |
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
|
26 |
*
|
|
|
27 |
* <pre>
|
|
|
28 |
* <complexType>
|
|
|
29 |
* <complexContent>
|
|
|
30 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
31 |
* <sequence>
|
|
|
32 |
* <element name="ParentSKU" type="{}SKUType"/>
|
|
|
33 |
* <element name="Relation" maxOccurs="unbounded">
|
|
|
34 |
* <complexType>
|
|
|
35 |
* <complexContent>
|
|
|
36 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
37 |
* <sequence>
|
|
|
38 |
* <element ref="{}SKU"/>
|
|
|
39 |
* <element name="Type">
|
|
|
40 |
* <simpleType>
|
|
|
41 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
|
42 |
* <enumeration value="Variation"/>
|
|
|
43 |
* <enumeration value="DisplaySet"/>
|
|
|
44 |
* <enumeration value="Collection"/>
|
|
|
45 |
* <enumeration value="Accessory"/>
|
|
|
46 |
* <enumeration value="Customized"/>
|
|
|
47 |
* <enumeration value="Part"/>
|
|
|
48 |
* <enumeration value="Complements"/>
|
|
|
49 |
* <enumeration value="Piece"/>
|
|
|
50 |
* <enumeration value="Necessary"/>
|
|
|
51 |
* <enumeration value="ReplacementPart"/>
|
|
|
52 |
* <enumeration value="Similar"/>
|
|
|
53 |
* <enumeration value="Episode"/>
|
|
|
54 |
* <enumeration value="Season"/>
|
|
|
55 |
* </restriction>
|
|
|
56 |
* </simpleType>
|
|
|
57 |
* </element>
|
|
|
58 |
* </sequence>
|
|
|
59 |
* </restriction>
|
|
|
60 |
* </complexContent>
|
|
|
61 |
* </complexType>
|
|
|
62 |
* </element>
|
|
|
63 |
* </sequence>
|
|
|
64 |
* </restriction>
|
|
|
65 |
* </complexContent>
|
|
|
66 |
* </complexType>
|
|
|
67 |
* </pre>
|
|
|
68 |
*
|
|
|
69 |
*
|
|
|
70 |
*/
|
|
|
71 |
@XmlAccessorType(XmlAccessType.FIELD)
|
|
|
72 |
@XmlType(name = "", propOrder = {
|
|
|
73 |
"parentSKU",
|
|
|
74 |
"relation"
|
|
|
75 |
})
|
|
|
76 |
@XmlRootElement(name = "Relationship")
|
|
|
77 |
public class Relationship {
|
|
|
78 |
|
|
|
79 |
@XmlElement(name = "ParentSKU", required = true)
|
|
|
80 |
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
|
|
|
81 |
protected String parentSKU;
|
|
|
82 |
@XmlElement(name = "Relation", required = true)
|
|
|
83 |
protected List<Relationship.Relation> relation;
|
|
|
84 |
|
|
|
85 |
/**
|
|
|
86 |
* Gets the value of the parentSKU property.
|
|
|
87 |
*
|
|
|
88 |
* @return
|
|
|
89 |
* possible object is
|
|
|
90 |
* {@link String }
|
|
|
91 |
*
|
|
|
92 |
*/
|
|
|
93 |
public String getParentSKU() {
|
|
|
94 |
return parentSKU;
|
|
|
95 |
}
|
|
|
96 |
|
|
|
97 |
/**
|
|
|
98 |
* Sets the value of the parentSKU property.
|
|
|
99 |
*
|
|
|
100 |
* @param value
|
|
|
101 |
* allowed object is
|
|
|
102 |
* {@link String }
|
|
|
103 |
*
|
|
|
104 |
*/
|
|
|
105 |
public void setParentSKU(String value) {
|
|
|
106 |
this.parentSKU = value;
|
|
|
107 |
}
|
|
|
108 |
|
|
|
109 |
/**
|
|
|
110 |
* Gets the value of the relation property.
|
|
|
111 |
*
|
|
|
112 |
* <p>
|
|
|
113 |
* This accessor method returns a reference to the live list,
|
|
|
114 |
* not a snapshot. Therefore any modification you make to the
|
|
|
115 |
* returned list will be present inside the JAXB object.
|
|
|
116 |
* This is why there is not a <CODE>set</CODE> method for the relation property.
|
|
|
117 |
*
|
|
|
118 |
* <p>
|
|
|
119 |
* For example, to add a new item, do as follows:
|
|
|
120 |
* <pre>
|
|
|
121 |
* getRelation().add(newItem);
|
|
|
122 |
* </pre>
|
|
|
123 |
*
|
|
|
124 |
*
|
|
|
125 |
* <p>
|
|
|
126 |
* Objects of the following type(s) are allowed in the list
|
|
|
127 |
* {@link Relationship.Relation }
|
|
|
128 |
*
|
|
|
129 |
*
|
|
|
130 |
*/
|
|
|
131 |
public List<Relationship.Relation> getRelation() {
|
|
|
132 |
if (relation == null) {
|
|
|
133 |
relation = new ArrayList<Relationship.Relation>();
|
|
|
134 |
}
|
|
|
135 |
return this.relation;
|
|
|
136 |
}
|
|
|
137 |
|
|
|
138 |
|
|
|
139 |
/**
|
|
|
140 |
* <p>Java class for anonymous complex type.
|
|
|
141 |
*
|
|
|
142 |
* <p>The following schema fragment specifies the expected content contained within this class.
|
|
|
143 |
*
|
|
|
144 |
* <pre>
|
|
|
145 |
* <complexType>
|
|
|
146 |
* <complexContent>
|
|
|
147 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
|
|
|
148 |
* <sequence>
|
|
|
149 |
* <element ref="{}SKU"/>
|
|
|
150 |
* <element name="Type">
|
|
|
151 |
* <simpleType>
|
|
|
152 |
* <restriction base="{http://www.w3.org/2001/XMLSchema}string">
|
|
|
153 |
* <enumeration value="Variation"/>
|
|
|
154 |
* <enumeration value="DisplaySet"/>
|
|
|
155 |
* <enumeration value="Collection"/>
|
|
|
156 |
* <enumeration value="Accessory"/>
|
|
|
157 |
* <enumeration value="Customized"/>
|
|
|
158 |
* <enumeration value="Part"/>
|
|
|
159 |
* <enumeration value="Complements"/>
|
|
|
160 |
* <enumeration value="Piece"/>
|
|
|
161 |
* <enumeration value="Necessary"/>
|
|
|
162 |
* <enumeration value="ReplacementPart"/>
|
|
|
163 |
* <enumeration value="Similar"/>
|
|
|
164 |
* <enumeration value="Episode"/>
|
|
|
165 |
* <enumeration value="Season"/>
|
|
|
166 |
* </restriction>
|
|
|
167 |
* </simpleType>
|
|
|
168 |
* </element>
|
|
|
169 |
* </sequence>
|
|
|
170 |
* </restriction>
|
|
|
171 |
* </complexContent>
|
|
|
172 |
* </complexType>
|
|
|
173 |
* </pre>
|
|
|
174 |
*
|
|
|
175 |
*
|
|
|
176 |
*/
|
|
|
177 |
@XmlAccessorType(XmlAccessType.FIELD)
|
|
|
178 |
@XmlType(name = "", propOrder = {
|
|
|
179 |
"sku",
|
|
|
180 |
"type"
|
|
|
181 |
})
|
|
|
182 |
public static class Relation {
|
|
|
183 |
|
|
|
184 |
@XmlElement(name = "SKU", required = true)
|
|
|
185 |
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
|
|
|
186 |
protected String sku;
|
|
|
187 |
@XmlElement(name = "Type", required = true)
|
|
|
188 |
protected String type;
|
|
|
189 |
|
|
|
190 |
/**
|
|
|
191 |
* Gets the value of the sku property.
|
|
|
192 |
*
|
|
|
193 |
* @return
|
|
|
194 |
* possible object is
|
|
|
195 |
* {@link String }
|
|
|
196 |
*
|
|
|
197 |
*/
|
|
|
198 |
public String getSKU() {
|
|
|
199 |
return sku;
|
|
|
200 |
}
|
|
|
201 |
|
|
|
202 |
/**
|
|
|
203 |
* Sets the value of the sku property.
|
|
|
204 |
*
|
|
|
205 |
* @param value
|
|
|
206 |
* allowed object is
|
|
|
207 |
* {@link String }
|
|
|
208 |
*
|
|
|
209 |
*/
|
|
|
210 |
public void setSKU(String value) {
|
|
|
211 |
this.sku = value;
|
|
|
212 |
}
|
|
|
213 |
|
|
|
214 |
/**
|
|
|
215 |
* Gets the value of the type property.
|
|
|
216 |
*
|
|
|
217 |
* @return
|
|
|
218 |
* possible object is
|
|
|
219 |
* {@link String }
|
|
|
220 |
*
|
|
|
221 |
*/
|
|
|
222 |
public String getType() {
|
|
|
223 |
return type;
|
|
|
224 |
}
|
|
|
225 |
|
|
|
226 |
/**
|
|
|
227 |
* Sets the value of the type property.
|
|
|
228 |
*
|
|
|
229 |
* @param value
|
|
|
230 |
* allowed object is
|
|
|
231 |
* {@link String }
|
|
|
232 |
*
|
|
|
233 |
*/
|
|
|
234 |
public void setType(String value) {
|
|
|
235 |
this.type = value;
|
|
|
236 |
}
|
|
|
237 |
|
|
|
238 |
}
|
|
|
239 |
|
|
|
240 |
}
|