// // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-147 // See http://java.sun.com/xml/jaxb // Any modifications to this file will be lost upon recompilation of the source schema. // Generated on: 2014.08.30 at 06:23:18 PM PDT // package com.megacorp.projectx.xml.jaxb; 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.XmlRootElement; import javax.xml.bind.annotation.XmlType; /** *
Java class for anonymous complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Corporation"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Phone" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Fax" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Address" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="People"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Employee" maxOccurs="unbounded"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <choice> * <element name="US-W2"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="EmpNumber" type="{http://www.w3.org/2001/XMLSchema}int"/> * <element name="Manager" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="YearStart" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="US-1099"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="SsnNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Phone" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="CorpName" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="CorpAddress" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Relationship" type="{}ERelation"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </choice> * <element name="Data"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="WorkPhone" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="CellPhone" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Address" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * <attribute name="TaxStatus" use="required" type="{}ETaxStatus" /> * <attribute name="Gender" use="required" type="{}EGender" /> * <attribute name="Desc" use="required" type="{}ELocation" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> ** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "corporation", "people" }) @XmlRootElement(name = "root") public class Root { @XmlElement(name = "Corporation", required = true) protected Root.Corporation corporation; @XmlElement(name = "People", required = true) protected Root.People people; /** * Gets the value of the corporation property. * * @return * possible object is * {@link Root.Corporation } * */ public Root.Corporation getCorporation() { return corporation; } /** * Sets the value of the corporation property. * * @param value * allowed object is * {@link Root.Corporation } * */ public void setCorporation(Root.Corporation value) { this.corporation = value; } /** * Gets the value of the people property. * * @return * possible object is * {@link Root.People } * */ public Root.People getPeople() { return people; } /** * Sets the value of the people property. * * @param value * allowed object is * {@link Root.People } * */ public void setPeople(Root.People value) { this.people = value; } /** *
Java class for anonymous complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Phone" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Fax" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Address" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> ** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "name", "phone", "fax", "address" }) public static class Corporation { @XmlElement(name = "Name", required = true) protected String name; @XmlElement(name = "Phone", required = true) protected String phone; @XmlElement(name = "Fax", required = true) protected String fax; @XmlElement(name = "Address", required = true) protected String address; /** * 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 phone property. * * @return * possible object is * {@link String } * */ public String getPhone() { return phone; } /** * Sets the value of the phone property. * * @param value * allowed object is * {@link String } * */ public void setPhone(String value) { this.phone = value; } /** * Gets the value of the fax property. * * @return * possible object is * {@link String } * */ public String getFax() { return fax; } /** * Sets the value of the fax property. * * @param value * allowed object is * {@link String } * */ public void setFax(String value) { this.fax = value; } /** * Gets the value of the address property. * * @return * possible object is * {@link String } * */ public String getAddress() { return address; } /** * Sets the value of the address property. * * @param value * allowed object is * {@link String } * */ public void setAddress(String value) { this.address = value; } } /** *
Java class for anonymous complex type. * *
The following schema fragment specifies the expected content contained within this class. * *
* <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Employee" maxOccurs="unbounded"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/> * <choice> * <element name="US-W2"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="EmpNumber" type="{http://www.w3.org/2001/XMLSchema}int"/> * <element name="Manager" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="YearStart" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="US-1099"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="SsnNumber" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Phone" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="CorpName" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="CorpAddress" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Relationship" type="{}ERelation"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </choice> * <element name="Data"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="WorkPhone" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="CellPhone" type="{http://www.w3.org/2001/XMLSchema}string"/> * <element name="Address" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * <attribute name="TaxStatus" use="required" type="{}ETaxStatus" /> * <attribute name="Gender" use="required" type="{}EGender" /> * <attribute name="Desc" use="required" type="{}ELocation" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> ** * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "employee" }) public static class People { @XmlElement(name = "Employee", required = true) protected List
* 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 employee property.
*
*
* For example, to add a new item, do as follows: *
* getEmployee().add(newItem); ** * *
* Objects of the following type(s) are allowed in the list
* {@link Root.People.Employee }
*
*
*/
public List Java class for anonymous complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
* Java class for anonymous complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
* Java class for anonymous complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
* Java class for anonymous complex type.
*
* The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Name" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <choice>
* <element name="US-W2">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="EmpNumber" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="Manager" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="YearStart" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="US-1099">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SsnNumber" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Phone" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="CorpName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="CorpAddress" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Relationship" type="{}ERelation"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </choice>
* <element name="Data">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="WorkPhone" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="CellPhone" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Address" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="TaxStatus" use="required" type="{}ETaxStatus" />
* <attribute name="Gender" use="required" type="{}EGender" />
* <attribute name="Desc" use="required" type="{}ELocation" />
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"name",
"usw2",
"us1099",
"data"
})
public static class Employee {
@XmlElement(name = "Name", required = true)
protected String name;
@XmlElement(name = "US-W2")
protected Root.People.Employee.USW2 usw2;
@XmlElement(name = "US-1099")
protected Root.People.Employee.US1099 us1099;
@XmlElement(name = "Data", required = true)
protected Root.People.Employee.Data data;
@XmlAttribute(name = "TaxStatus", required = true)
protected ETaxStatus taxStatus;
@XmlAttribute(name = "Gender", required = true)
protected EGender gender;
@XmlAttribute(name = "Desc", required = true)
protected ELocation desc;
/**
* 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 usw2 property.
*
* @return
* possible object is
* {@link Root.People.Employee.USW2 }
*
*/
public Root.People.Employee.USW2 getUSW2() {
return usw2;
}
/**
* Sets the value of the usw2 property.
*
* @param value
* allowed object is
* {@link Root.People.Employee.USW2 }
*
*/
public void setUSW2(Root.People.Employee.USW2 value) {
this.usw2 = value;
}
/**
* Gets the value of the us1099 property.
*
* @return
* possible object is
* {@link Root.People.Employee.US1099 }
*
*/
public Root.People.Employee.US1099 getUS1099() {
return us1099;
}
/**
* Sets the value of the us1099 property.
*
* @param value
* allowed object is
* {@link Root.People.Employee.US1099 }
*
*/
public void setUS1099(Root.People.Employee.US1099 value) {
this.us1099 = value;
}
/**
* Gets the value of the data property.
*
* @return
* possible object is
* {@link Root.People.Employee.Data }
*
*/
public Root.People.Employee.Data getData() {
return data;
}
/**
* Sets the value of the data property.
*
* @param value
* allowed object is
* {@link Root.People.Employee.Data }
*
*/
public void setData(Root.People.Employee.Data value) {
this.data = value;
}
/**
* Gets the value of the taxStatus property.
*
* @return
* possible object is
* {@link ETaxStatus }
*
*/
public ETaxStatus getTaxStatus() {
return taxStatus;
}
/**
* Sets the value of the taxStatus property.
*
* @param value
* allowed object is
* {@link ETaxStatus }
*
*/
public void setTaxStatus(ETaxStatus value) {
this.taxStatus = value;
}
/**
* Gets the value of the gender property.
*
* @return
* possible object is
* {@link EGender }
*
*/
public EGender getGender() {
return gender;
}
/**
* Sets the value of the gender property.
*
* @param value
* allowed object is
* {@link EGender }
*
*/
public void setGender(EGender value) {
this.gender = value;
}
/**
* Gets the value of the desc property.
*
* @return
* possible object is
* {@link ELocation }
*
*/
public ELocation getDesc() {
return desc;
}
/**
* Sets the value of the desc property.
*
* @param value
* allowed object is
* {@link ELocation }
*
*/
public void setDesc(ELocation value) {
this.desc = value;
}
/**
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="WorkPhone" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="CellPhone" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Address" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"workPhone",
"cellPhone",
"address"
})
public static class Data {
@XmlElement(name = "WorkPhone", required = true, defaultValue = "1-800-555-1212")
protected String workPhone;
@XmlElement(name = "CellPhone", required = true, defaultValue = "1-800-555-1212")
protected String cellPhone;
@XmlElement(name = "Address", required = true, defaultValue = "NULL")
protected String address;
/**
* Gets the value of the workPhone property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getWorkPhone() {
return workPhone;
}
/**
* Sets the value of the workPhone property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWorkPhone(String value) {
this.workPhone = value;
}
/**
* Gets the value of the cellPhone property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCellPhone() {
return cellPhone;
}
/**
* Sets the value of the cellPhone property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCellPhone(String value) {
this.cellPhone = value;
}
/**
* Gets the value of the address property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAddress() {
return address;
}
/**
* Sets the value of the address property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAddress(String value) {
this.address = value;
}
}
/**
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="SsnNumber" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Phone" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="CorpName" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="CorpAddress" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="Relationship" type="{}ERelation"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"ssnNumber",
"phone",
"corpName",
"corpAddress",
"relationship"
})
public static class US1099 {
@XmlElement(name = "SsnNumber", required = true)
protected String ssnNumber;
@XmlElement(name = "Phone", required = true, defaultValue = "1-800-555-1212")
protected String phone;
@XmlElement(name = "CorpName", required = true)
protected String corpName;
@XmlElement(name = "CorpAddress", required = true)
protected String corpAddress;
@XmlElement(name = "Relationship", required = true)
protected ERelation relationship;
/**
* Gets the value of the ssnNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSsnNumber() {
return ssnNumber;
}
/**
* Sets the value of the ssnNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSsnNumber(String value) {
this.ssnNumber = value;
}
/**
* Gets the value of the phone property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPhone() {
return phone;
}
/**
* Sets the value of the phone property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPhone(String value) {
this.phone = value;
}
/**
* Gets the value of the corpName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCorpName() {
return corpName;
}
/**
* Sets the value of the corpName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCorpName(String value) {
this.corpName = value;
}
/**
* Gets the value of the corpAddress property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCorpAddress() {
return corpAddress;
}
/**
* Sets the value of the corpAddress property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCorpAddress(String value) {
this.corpAddress = value;
}
/**
* Gets the value of the relationship property.
*
* @return
* possible object is
* {@link ERelation }
*
*/
public ERelation getRelationship() {
return relationship;
}
/**
* Sets the value of the relationship property.
*
* @param value
* allowed object is
* {@link ERelation }
*
*/
public void setRelationship(ERelation value) {
this.relationship = value;
}
}
/**
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="EmpNumber" type="{http://www.w3.org/2001/XMLSchema}int"/>
* <element name="Manager" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="YearStart" type="{http://www.w3.org/2001/XMLSchema}string"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"empNumber",
"manager",
"yearStart"
})
public static class USW2 {
@XmlElement(name = "EmpNumber")
protected int empNumber;
@XmlElement(name = "Manager", required = true)
protected String manager;
@XmlElement(name = "YearStart", required = true)
protected String yearStart;
/**
* Gets the value of the empNumber property.
*
*/
public int getEmpNumber() {
return empNumber;
}
/**
* Sets the value of the empNumber property.
*
*/
public void setEmpNumber(int value) {
this.empNumber = value;
}
/**
* Gets the value of the manager property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getManager() {
return manager;
}
/**
* Sets the value of the manager property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setManager(String value) {
this.manager = value;
}
/**
* Gets the value of the yearStart property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getYearStart() {
return yearStart;
}
/**
* Sets the value of the yearStart property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setYearStart(String value) {
this.yearStart = value;
}
}
}
}
}