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:57:00 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.XmlSchemaType;import javax.xml.bind.annotation.XmlType;import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;import javax.xml.datatype.XMLGregorianCalendar;/*** <p>Java class for Customer complex type.** <p>The following schema fragment specifies the expected content contained within this class.** <pre>* <complexType name="Customer">* <complexContent>* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">* <sequence>* <element name="Name" type="{}String" minOccurs="0"/>* <element name="FormalTitle" minOccurs="0">* <simpleType>* <restriction base="{http://www.w3.org/2001/XMLSchema}string">* <maxLength value="10"/>* </restriction>* </simpleType>* </element>* <element name="GivenName" type="{}String" minOccurs="0"/>* <element name="FamilyName" type="{}String" minOccurs="0"/>* <element name="Email" type="{}EmailAddressType" minOccurs="0"/>* <element name="BirthDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>* <element name="CustomerAddress" type="{}AddressType" maxOccurs="unbounded" minOccurs="0"/>* </sequence>* </restriction>* </complexContent>* </complexType>* </pre>***/@XmlAccessorType(XmlAccessType.FIELD)@XmlType(name = "Customer", propOrder = {"name","formalTitle","givenName","familyName","email","birthDate","customerAddress"})public class Customer {@XmlElement(name = "Name")@XmlJavaTypeAdapter(NormalizedStringAdapter.class)protected String name;@XmlElement(name = "FormalTitle")protected String formalTitle;@XmlElement(name = "GivenName")@XmlJavaTypeAdapter(NormalizedStringAdapter.class)protected String givenName;@XmlElement(name = "FamilyName")@XmlJavaTypeAdapter(NormalizedStringAdapter.class)protected String familyName;@XmlElement(name = "Email")protected EmailAddressType email;@XmlElement(name = "BirthDate")@XmlSchemaType(name = "date")protected XMLGregorianCalendar birthDate;@XmlElement(name = "CustomerAddress")protected List<AddressType> customerAddress;/*** 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 formalTitle property.** @return* possible object is* {@link String }**/public String getFormalTitle() {return formalTitle;}/*** Sets the value of the formalTitle property.** @param value* allowed object is* {@link String }**/public void setFormalTitle(String value) {this.formalTitle = value;}/*** Gets the value of the givenName property.** @return* possible object is* {@link String }**/public String getGivenName() {return givenName;}/*** Sets the value of the givenName property.** @param value* allowed object is* {@link String }**/public void setGivenName(String value) {this.givenName = value;}/*** Gets the value of the familyName property.** @return* possible object is* {@link String }**/public String getFamilyName() {return familyName;}/*** Sets the value of the familyName property.** @param value* allowed object is* {@link String }**/public void setFamilyName(String value) {this.familyName = value;}/*** Gets the value of the email property.** @return* possible object is* {@link EmailAddressType }**/public EmailAddressType getEmail() {return email;}/*** Sets the value of the email property.** @param value* allowed object is* {@link EmailAddressType }**/public void setEmail(EmailAddressType value) {this.email = value;}/*** Gets the value of the birthDate property.** @return* possible object is* {@link XMLGregorianCalendar }**/public XMLGregorianCalendar getBirthDate() {return birthDate;}/*** Sets the value of the birthDate property.** @param value* allowed object is* {@link XMLGregorianCalendar }**/public void setBirthDate(XMLGregorianCalendar value) {this.birthDate = value;}/*** Gets the value of the customerAddress 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 customerAddress property.** <p>* For example, to add a new item, do as follows:* <pre>* getCustomerAddress().add(newItem);* </pre>*** <p>* Objects of the following type(s) are allowed in the list* {@link AddressType }***/public List<AddressType> getCustomerAddress() {if (customerAddress == null) {customerAddress = new ArrayList<AddressType>();}return this.customerAddress;}}