// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4-2 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.04.12 at 12:22:50 PM GMT // package eu.stork.peps.complex.attributes.crue.academic.xsd.language.diplomasupplement; 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.XmlType; import javax.xml.bind.annotation.XmlValue; /** * Address * *

Java class for AddressType complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="AddressType">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="Line" type="{urn:crue:academic:xsd:language:diplomasupplement}PlainTextType" maxOccurs="unbounded"/>
 *         <element name="City" type="{urn:crue:academic:xsd:language:diplomasupplement}PlainTextType"/>
 *         <element name="StateOrRegion" type="{urn:crue:academic:xsd:language:diplomasupplement}PlainTextType"/>
 *         <element name="PostalCode" type="{urn:crue:academic:xsd:language:diplomasupplement}PlainTextType"/>
 *         <element name="Country">
 *           <complexType>
 *             <simpleContent>
 *               <extension base="<urn:crue:academic:xsd:language:diplomasupplement>PlainTextType">
 *                 <attribute name="country" use="required" type="{urn:crue:academic:xsd:language:diplomasupplement}CountryType" />
 *               </extension>
 *             </simpleContent>
 *           </complexType>
 *         </element>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AddressType", propOrder = { "line", "city", "stateOrRegion", "postalCode", "country" }) public class AddressType { @XmlElement(name = "Line", required = true) protected List line; @XmlElement(name = "City", required = true) protected String city; @XmlElement(name = "StateOrRegion", required = true) protected String stateOrRegion; @XmlElement(name = "PostalCode", required = true) protected String postalCode; @XmlElement(name = "Country", required = true) protected AddressType.Country country; /** * Gets the value of the line property. * *

* 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 set method for the line property. * *

* For example, to add a new item, do as follows: *

     *    getLine().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link String } * * */ public List getLine() { if (line == null) { line = new ArrayList(); } return this.line; } /** * Gets the value of the city property. * * @return * possible object is * {@link String } * */ public String getCity() { return city; } /** * Sets the value of the city property. * * @param value * allowed object is * {@link String } * */ public void setCity(String value) { this.city = value; } /** * Gets the value of the stateOrRegion property. * * @return * possible object is * {@link String } * */ public String getStateOrRegion() { return stateOrRegion; } /** * Sets the value of the stateOrRegion property. * * @param value * allowed object is * {@link String } * */ public void setStateOrRegion(String value) { this.stateOrRegion = value; } /** * Gets the value of the postalCode property. * * @return * possible object is * {@link String } * */ public String getPostalCode() { return postalCode; } /** * Sets the value of the postalCode property. * * @param value * allowed object is * {@link String } * */ public void setPostalCode(String value) { this.postalCode = value; } /** * Gets the value of the country property. * * @return * possible object is * {@link AddressType.Country } * */ public AddressType.Country getCountry() { return country; } /** * Sets the value of the country property. * * @param value * allowed object is * {@link AddressType.Country } * */ public void setCountry(AddressType.Country value) { this.country = value; } /** *

Java class for anonymous complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

     * <complexType>
     *   <simpleContent>
     *     <extension base="<urn:crue:academic:xsd:language:diplomasupplement>PlainTextType">
     *       <attribute name="country" use="required" type="{urn:crue:academic:xsd:language:diplomasupplement}CountryType" />
     *     </extension>
     *   </simpleContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "value" }) public static class Country { @XmlValue protected String value; @XmlAttribute(name = "country", required = true) protected CountryType country; /** * Plain text constraint * * Non empty text * * @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 country property. * * @return * possible object is * {@link CountryType } * */ public CountryType getCountry() { return country; } /** * Sets the value of the country property. * * @param value * allowed object is * {@link CountryType } * */ public void setCountry(CountryType value) { this.country = value; } } }