//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.2-7
// 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.10.24 at 10:41:34 PM CDT
//
package org.statmantis.mport.mlb.gen;
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 benchTeam complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="benchTeam">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="batters">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="batter" type="{http://gdx.mlb.com/components/schema/1}benchBatter" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="pitchers">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="pitcher" type="{http://gdx.mlb.com/components/schema/1}benchPitcher" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* </sequence>
* <attribute name="tid" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="name" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "benchTeam", propOrder = {
"batters",
"pitchers"
})
public class BenchTeam {
@XmlElement(required = true)
protected BenchTeam.Batters batters;
@XmlElement(required = true)
protected BenchTeam.Pitchers pitchers;
@XmlAttribute(name = "tid")
protected String tid;
@XmlAttribute(name = "name")
protected String name;
/**
* Gets the value of the batters property.
*
* @return
* possible object is
* {@link BenchTeam.Batters }
*
*/
public BenchTeam.Batters getBatters() {
return batters;
}
/**
* Sets the value of the batters property.
*
* @param value
* allowed object is
* {@link BenchTeam.Batters }
*
*/
public void setBatters(BenchTeam.Batters value) {
this.batters = value;
}
/**
* Gets the value of the pitchers property.
*
* @return
* possible object is
* {@link BenchTeam.Pitchers }
*
*/
public BenchTeam.Pitchers getPitchers() {
return pitchers;
}
/**
* Sets the value of the pitchers property.
*
* @param value
* allowed object is
* {@link BenchTeam.Pitchers }
*
*/
public void setPitchers(BenchTeam.Pitchers value) {
this.pitchers = value;
}
/**
* Gets the value of the tid property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTid() {
return tid;
}
/**
* Sets the value of the tid property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setTid(String value) {
this.tid = value;
}
/**
* 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;
}
/**
* <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">
* <sequence>
* <element name="batter" type="{http://gdx.mlb.com/components/schema/1}benchBatter" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"batter"
})
public static class Batters {
protected List<BenchBatter> batter;
/**
* Gets the value of the batter 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 batter property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getBatter().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link BenchBatter }
*
*
*/
public List<BenchBatter> getBatter() {
if (batter == null) {
batter = new ArrayList<BenchBatter>();
}
return this.batter;
}
}
/**
* <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">
* <sequence>
* <element name="pitcher" type="{http://gdx.mlb.com/components/schema/1}benchPitcher" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"pitcher"
})
public static class Pitchers {
protected List<BenchPitcher> pitcher;
/**
* Gets the value of the pitcher 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 pitcher property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getPitcher().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link BenchPitcher }
*
*
*/
public List<BenchPitcher> getPitcher() {
if (pitcher == null) {
pitcher = new ArrayList<BenchPitcher>();
}
return this.pitcher;
}
}
}