Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
7480 vikram.rag 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:57:00 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.XmlSchemaType;
17
import javax.xml.bind.annotation.XmlType;
18
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
19
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
20
import javax.xml.datatype.XMLGregorianCalendar;
21
 
22
 
23
/**
24
 * <p>Java class for Customer complex type.
25
 * 
26
 * <p>The following schema fragment specifies the expected content contained within this class.
27
 * 
28
 * <pre>
29
 * &lt;complexType name="Customer">
30
 *   &lt;complexContent>
31
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
32
 *       &lt;sequence>
33
 *         &lt;element name="Name" type="{}String" minOccurs="0"/>
34
 *         &lt;element name="FormalTitle" minOccurs="0">
35
 *           &lt;simpleType>
36
 *             &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
37
 *               &lt;maxLength value="10"/>
38
 *             &lt;/restriction>
39
 *           &lt;/simpleType>
40
 *         &lt;/element>
41
 *         &lt;element name="GivenName" type="{}String" minOccurs="0"/>
42
 *         &lt;element name="FamilyName" type="{}String" minOccurs="0"/>
43
 *         &lt;element name="Email" type="{}EmailAddressType" minOccurs="0"/>
44
 *         &lt;element name="BirthDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
45
 *         &lt;element name="CustomerAddress" type="{}AddressType" maxOccurs="unbounded" minOccurs="0"/>
46
 *       &lt;/sequence>
47
 *     &lt;/restriction>
48
 *   &lt;/complexContent>
49
 * &lt;/complexType>
50
 * </pre>
51
 * 
52
 * 
53
 */
54
@XmlAccessorType(XmlAccessType.FIELD)
55
@XmlType(name = "Customer", propOrder = {
56
    "name",
57
    "formalTitle",
58
    "givenName",
59
    "familyName",
60
    "email",
61
    "birthDate",
62
    "customerAddress"
63
})
64
public class Customer {
65
 
66
    @XmlElement(name = "Name")
67
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
68
    protected String name;
69
    @XmlElement(name = "FormalTitle")
70
    protected String formalTitle;
71
    @XmlElement(name = "GivenName")
72
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
73
    protected String givenName;
74
    @XmlElement(name = "FamilyName")
75
    @XmlJavaTypeAdapter(NormalizedStringAdapter.class)
76
    protected String familyName;
77
    @XmlElement(name = "Email")
78
    protected EmailAddressType email;
79
    @XmlElement(name = "BirthDate")
80
    @XmlSchemaType(name = "date")
81
    protected XMLGregorianCalendar birthDate;
82
    @XmlElement(name = "CustomerAddress")
83
    protected List<AddressType> customerAddress;
84
 
85
    /**
86
     * Gets the value of the name property.
87
     * 
88
     * @return
89
     *     possible object is
90
     *     {@link String }
91
     *     
92
     */
93
    public String getName() {
94
        return name;
95
    }
96
 
97
    /**
98
     * Sets the value of the name property.
99
     * 
100
     * @param value
101
     *     allowed object is
102
     *     {@link String }
103
     *     
104
     */
105
    public void setName(String value) {
106
        this.name = value;
107
    }
108
 
109
    /**
110
     * Gets the value of the formalTitle property.
111
     * 
112
     * @return
113
     *     possible object is
114
     *     {@link String }
115
     *     
116
     */
117
    public String getFormalTitle() {
118
        return formalTitle;
119
    }
120
 
121
    /**
122
     * Sets the value of the formalTitle property.
123
     * 
124
     * @param value
125
     *     allowed object is
126
     *     {@link String }
127
     *     
128
     */
129
    public void setFormalTitle(String value) {
130
        this.formalTitle = value;
131
    }
132
 
133
    /**
134
     * Gets the value of the givenName property.
135
     * 
136
     * @return
137
     *     possible object is
138
     *     {@link String }
139
     *     
140
     */
141
    public String getGivenName() {
142
        return givenName;
143
    }
144
 
145
    /**
146
     * Sets the value of the givenName property.
147
     * 
148
     * @param value
149
     *     allowed object is
150
     *     {@link String }
151
     *     
152
     */
153
    public void setGivenName(String value) {
154
        this.givenName = value;
155
    }
156
 
157
    /**
158
     * Gets the value of the familyName property.
159
     * 
160
     * @return
161
     *     possible object is
162
     *     {@link String }
163
     *     
164
     */
165
    public String getFamilyName() {
166
        return familyName;
167
    }
168
 
169
    /**
170
     * Sets the value of the familyName property.
171
     * 
172
     * @param value
173
     *     allowed object is
174
     *     {@link String }
175
     *     
176
     */
177
    public void setFamilyName(String value) {
178
        this.familyName = value;
179
    }
180
 
181
    /**
182
     * Gets the value of the email property.
183
     * 
184
     * @return
185
     *     possible object is
186
     *     {@link EmailAddressType }
187
     *     
188
     */
189
    public EmailAddressType getEmail() {
190
        return email;
191
    }
192
 
193
    /**
194
     * Sets the value of the email property.
195
     * 
196
     * @param value
197
     *     allowed object is
198
     *     {@link EmailAddressType }
199
     *     
200
     */
201
    public void setEmail(EmailAddressType value) {
202
        this.email = value;
203
    }
204
 
205
    /**
206
     * Gets the value of the birthDate property.
207
     * 
208
     * @return
209
     *     possible object is
210
     *     {@link XMLGregorianCalendar }
211
     *     
212
     */
213
    public XMLGregorianCalendar getBirthDate() {
214
        return birthDate;
215
    }
216
 
217
    /**
218
     * Sets the value of the birthDate property.
219
     * 
220
     * @param value
221
     *     allowed object is
222
     *     {@link XMLGregorianCalendar }
223
     *     
224
     */
225
    public void setBirthDate(XMLGregorianCalendar value) {
226
        this.birthDate = value;
227
    }
228
 
229
    /**
230
     * Gets the value of the customerAddress property.
231
     * 
232
     * <p>
233
     * This accessor method returns a reference to the live list,
234
     * not a snapshot. Therefore any modification you make to the
235
     * returned list will be present inside the JAXB object.
236
     * This is why there is not a <CODE>set</CODE> method for the customerAddress property.
237
     * 
238
     * <p>
239
     * For example, to add a new item, do as follows:
240
     * <pre>
241
     *    getCustomerAddress().add(newItem);
242
     * </pre>
243
     * 
244
     * 
245
     * <p>
246
     * Objects of the following type(s) are allowed in the list
247
     * {@link AddressType }
248
     * 
249
     * 
250
     */
251
    public List<AddressType> getCustomerAddress() {
252
        if (customerAddress == null) {
253
            customerAddress = new ArrayList<AddressType>();
254
        }
255
        return this.customerAddress;
256
    }
257
 
258
}