Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
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
 * &lt;complexType>
29
 *   &lt;complexContent>
30
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
31
 *       &lt;sequence>
32
 *         &lt;element name="ParentSKU" type="{}SKUType"/>
33
 *         &lt;element name="Relation" maxOccurs="unbounded">
34
 *           &lt;complexType>
35
 *             &lt;complexContent>
36
 *               &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
37
 *                 &lt;sequence>
38
 *                   &lt;element ref="{}SKU"/>
39
 *                   &lt;element name="Type">
40
 *                     &lt;simpleType>
41
 *                       &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
42
 *                         &lt;enumeration value="Variation"/>
43
 *                         &lt;enumeration value="DisplaySet"/>
44
 *                         &lt;enumeration value="Collection"/>
45
 *                         &lt;enumeration value="Accessory"/>
46
 *                         &lt;enumeration value="Customized"/>
47
 *                         &lt;enumeration value="Part"/>
48
 *                         &lt;enumeration value="Complements"/>
49
 *                         &lt;enumeration value="Piece"/>
50
 *                         &lt;enumeration value="Necessary"/>
51
 *                         &lt;enumeration value="ReplacementPart"/>
52
 *                         &lt;enumeration value="Similar"/>
53
 *                         &lt;enumeration value="Episode"/>
54
 *                         &lt;enumeration value="Season"/>
55
 *                       &lt;/restriction>
56
 *                     &lt;/simpleType>
57
 *                   &lt;/element>
58
 *                 &lt;/sequence>
59
 *               &lt;/restriction>
60
 *             &lt;/complexContent>
61
 *           &lt;/complexType>
62
 *         &lt;/element>
63
 *       &lt;/sequence>
64
 *     &lt;/restriction>
65
 *   &lt;/complexContent>
66
 * &lt;/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
     * &lt;complexType>
146
     *   &lt;complexContent>
147
     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
148
     *       &lt;sequence>
149
     *         &lt;element ref="{}SKU"/>
150
     *         &lt;element name="Type">
151
     *           &lt;simpleType>
152
     *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
153
     *               &lt;enumeration value="Variation"/>
154
     *               &lt;enumeration value="DisplaySet"/>
155
     *               &lt;enumeration value="Collection"/>
156
     *               &lt;enumeration value="Accessory"/>
157
     *               &lt;enumeration value="Customized"/>
158
     *               &lt;enumeration value="Part"/>
159
     *               &lt;enumeration value="Complements"/>
160
     *               &lt;enumeration value="Piece"/>
161
     *               &lt;enumeration value="Necessary"/>
162
     *               &lt;enumeration value="ReplacementPart"/>
163
     *               &lt;enumeration value="Similar"/>
164
     *               &lt;enumeration value="Episode"/>
165
     *               &lt;enumeration value="Season"/>
166
     *             &lt;/restriction>
167
     *           &lt;/simpleType>
168
     *         &lt;/element>
169
     *       &lt;/sequence>
170
     *     &lt;/restriction>
171
     *   &lt;/complexContent>
172
     * &lt;/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
}