// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4 // 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: 2012.07.24 at 11:42:28 PM CEST // package eu.prestoprime.model.ext.qa; import java.io.Serializable; 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.XmlAttribute; import javax.xml.bind.annotation.XmlElement; import javax.xml.bind.annotation.XmlSchemaType; import javax.xml.bind.annotation.XmlType; import javax.xml.bind.annotation.XmlValue; /** * <p> * Java class for ElectronicAddressType complex type. * * <p> * The following schema fragment specifies the expected content contained within * this class. * * <pre> * <complexType name="ElectronicAddressType"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Telephone" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="type"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="central"/> * <enumeration value="secondary"/> * </restriction> * </simpleType> * </attribute> * </extension> * </simpleContent> * </complexType> * </element> * <element name="Fax" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="Email" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/> * <element name="Url" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="unbounded" minOccurs="0"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ElectronicAddressType", propOrder = { "telephone", "fax", "email", "url" }) public class ElectronicAddressType implements Serializable { private final static long serialVersionUID = 1L; @XmlElement(name = "Telephone") protected List<ElectronicAddressType.Telephone> telephone; @XmlElement(name = "Fax") protected List<String> fax; @XmlElement(name = "Email") protected List<String> email; @XmlElement(name = "Url") @XmlSchemaType(name = "anyURI") protected List<String> url; /** * Gets the value of the telephone 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 telephone property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getTelephone().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link ElectronicAddressType.Telephone } * * */ public List<ElectronicAddressType.Telephone> getTelephone() { if (telephone == null) { telephone = new ArrayList<ElectronicAddressType.Telephone>(); } return this.telephone; } /** * Gets the value of the fax 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 fax property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getFax().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link String } * * */ public List<String> getFax() { if (fax == null) { fax = new ArrayList<String>(); } return this.fax; } /** * Gets the value of the email 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 email property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getEmail().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link String } * * */ public List<String> getEmail() { if (email == null) { email = new ArrayList<String>(); } return this.email; } /** * Gets the value of the url 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 url property. * * <p> * For example, to add a new item, do as follows: * * <pre> * getUrl().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list {@link String } * * */ public List<String> getUrl() { if (url == null) { url = new ArrayList<String>(); } return this.url; } /** * <p> * Java class for anonymous complex type. * * <p> * The following schema fragment specifies the expected content contained * within this class. * * <pre> * <complexType> * <simpleContent> * <extension base="<http://www.w3.org/2001/XMLSchema>string"> * <attribute name="type"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="central"/> * <enumeration value="secondary"/> * </restriction> * </simpleType> * </attribute> * </extension> * </simpleContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Telephone implements Serializable { private final static long serialVersionUID = 1L; @XmlValue protected String value; @XmlAttribute(name = "type") protected String type; /** * Gets the value of the value property. * * @return possible object is {@link String } * */ public String getValue() { return value; } /** * Sets the value of the value property. * * @param value * allowed object is {@link String } * */ public void setValue(String value) { this.value = 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; } } }