// // 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: 2010.02.24 at 10:55:05 AM CST // package org.atdl4j.fixatdl.core; 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; /** * <p>Java class for Region_t complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="Region_t"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Country" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="CountryCode" use="required"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <pattern value="[A-Z0-9]{2}"/> * </restriction> * </simpleType> * </attribute> * <attribute name="inclusion" use="required" type="{http://www.fixprotocol.org/FIXatdl-1-1/Core}Inclusion_t" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * <attribute name="name" use="required"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <enumeration value="TheAmericas"/> * <enumeration value="EuropeMiddleEastAfrica"/> * <enumeration value="AsiaPacificJapan"/> * </restriction> * </simpleType> * </attribute> * <attribute name="inclusion" use="required" type="{http://www.fixprotocol.org/FIXatdl-1-1/Core}Inclusion_t" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Region_t", propOrder = { "country" }) public class RegionT { @XmlElement(name = "Country") protected List<RegionT.Country> country; @XmlAttribute(required = true) protected String name; @XmlAttribute(required = true) protected InclusionT inclusion; /** * Gets the value of the country 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 country property. * * <p> * For example, to add a new item, do as follows: * <pre> * getCountry().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link RegionT.Country } * * */ public List<RegionT.Country> getCountry() { if (country == null) { country = new ArrayList<RegionT.Country>(); } return this.country; } /** * 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 inclusion property. * * @return * possible object is * {@link InclusionT } * */ public InclusionT getInclusion() { return inclusion; } /** * Sets the value of the inclusion property. * * @param value * allowed object is * {@link InclusionT } * */ public void setInclusion(InclusionT value) { this.inclusion = value; } /** * <p>Java class for anonymous complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="CountryCode" use="required"> * <simpleType> * <restriction base="{http://www.w3.org/2001/XMLSchema}string"> * <pattern value="[A-Z0-9]{2}"/> * </restriction> * </simpleType> * </attribute> * <attribute name="inclusion" use="required" type="{http://www.fixprotocol.org/FIXatdl-1-1/Core}Inclusion_t" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Country { @XmlAttribute(name = "CountryCode", required = true) protected String countryCode; @XmlAttribute(required = true) protected InclusionT inclusion; /** * Gets the value of the countryCode property. * * @return * possible object is * {@link String } * */ public String getCountryCode() { return countryCode; } /** * Sets the value of the countryCode property. * * @param value * allowed object is * {@link String } * */ public void setCountryCode(String value) { this.countryCode = value; } /** * Gets the value of the inclusion property. * * @return * possible object is * {@link InclusionT } * */ public InclusionT getInclusion() { return inclusion; } /** * Sets the value of the inclusion property. * * @param value * allowed object is * {@link InclusionT } * */ public void setInclusion(InclusionT value) { this.inclusion = value; } } }