// // 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.math.BigDecimal; 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 boxscoreBatting complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="boxscoreBatting"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="batter" type="{http://gdx.mlb.com/components/schema/1}boxscoreBatter" maxOccurs="unbounded" minOccurs="0"/> * <element name="text_date" type="{http://www.w3.org/2001/XMLSchema}string"/> * </sequence> * <attribute name="team_flag" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="ab" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="r" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="h" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="d" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="t" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="hr" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="rbi" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="bb" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="po" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="da" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="so" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="lob" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="avg" type="{http://www.w3.org/2001/XMLSchema}decimal" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "boxscoreBatting", propOrder = { "batter", "textDate" }) public class BoxscoreBatting { protected List<BoxscoreBatter> batter; @XmlElement(name = "text_date", required = true) protected String textDate; @XmlAttribute(name = "team_flag") protected String teamFlag; @XmlAttribute(name = "ab") protected Integer ab; @XmlAttribute(name = "r") protected Integer r; @XmlAttribute(name = "h") protected Integer h; @XmlAttribute(name = "d") protected Integer d; @XmlAttribute(name = "t") protected Integer t; @XmlAttribute(name = "hr") protected Integer hr; @XmlAttribute(name = "rbi") protected Integer rbi; @XmlAttribute(name = "bb") protected Integer bb; @XmlAttribute(name = "po") protected Integer po; @XmlAttribute(name = "da") protected Integer da; @XmlAttribute(name = "so") protected Integer so; @XmlAttribute(name = "lob") protected Integer lob; @XmlAttribute(name = "avg") protected BigDecimal avg; /** * 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 BoxscoreBatter } * * */ public List<BoxscoreBatter> getBatter() { if (batter == null) { batter = new ArrayList<BoxscoreBatter>(); } return this.batter; } /** * Gets the value of the textDate property. * * @return * possible object is * {@link String } * */ public String getTextDate() { return textDate; } /** * Sets the value of the textDate property. * * @param value * allowed object is * {@link String } * */ public void setTextDate(String value) { this.textDate = value; } /** * Gets the value of the teamFlag property. * * @return * possible object is * {@link String } * */ public String getTeamFlag() { return teamFlag; } /** * Sets the value of the teamFlag property. * * @param value * allowed object is * {@link String } * */ public void setTeamFlag(String value) { this.teamFlag = value; } /** * Gets the value of the ab property. * * @return * possible object is * {@link Integer } * */ public Integer getAb() { return ab; } /** * Sets the value of the ab property. * * @param value * allowed object is * {@link Integer } * */ public void setAb(Integer value) { this.ab = value; } /** * Gets the value of the r property. * * @return * possible object is * {@link Integer } * */ public Integer getR() { return r; } /** * Sets the value of the r property. * * @param value * allowed object is * {@link Integer } * */ public void setR(Integer value) { this.r = value; } /** * Gets the value of the h property. * * @return * possible object is * {@link Integer } * */ public Integer getH() { return h; } /** * Sets the value of the h property. * * @param value * allowed object is * {@link Integer } * */ public void setH(Integer value) { this.h = value; } /** * Gets the value of the d property. * * @return * possible object is * {@link Integer } * */ public Integer getD() { return d; } /** * Sets the value of the d property. * * @param value * allowed object is * {@link Integer } * */ public void setD(Integer value) { this.d = value; } /** * Gets the value of the t property. * * @return * possible object is * {@link Integer } * */ public Integer getT() { return t; } /** * Sets the value of the t property. * * @param value * allowed object is * {@link Integer } * */ public void setT(Integer value) { this.t = value; } /** * Gets the value of the hr property. * * @return * possible object is * {@link Integer } * */ public Integer getHr() { return hr; } /** * Sets the value of the hr property. * * @param value * allowed object is * {@link Integer } * */ public void setHr(Integer value) { this.hr = value; } /** * Gets the value of the rbi property. * * @return * possible object is * {@link Integer } * */ public Integer getRbi() { return rbi; } /** * Sets the value of the rbi property. * * @param value * allowed object is * {@link Integer } * */ public void setRbi(Integer value) { this.rbi = value; } /** * Gets the value of the bb property. * * @return * possible object is * {@link Integer } * */ public Integer getBb() { return bb; } /** * Sets the value of the bb property. * * @param value * allowed object is * {@link Integer } * */ public void setBb(Integer value) { this.bb = value; } /** * Gets the value of the po property. * * @return * possible object is * {@link Integer } * */ public Integer getPo() { return po; } /** * Sets the value of the po property. * * @param value * allowed object is * {@link Integer } * */ public void setPo(Integer value) { this.po = value; } /** * Gets the value of the da property. * * @return * possible object is * {@link Integer } * */ public Integer getDa() { return da; } /** * Sets the value of the da property. * * @param value * allowed object is * {@link Integer } * */ public void setDa(Integer value) { this.da = value; } /** * Gets the value of the so property. * * @return * possible object is * {@link Integer } * */ public Integer getSo() { return so; } /** * Sets the value of the so property. * * @param value * allowed object is * {@link Integer } * */ public void setSo(Integer value) { this.so = value; } /** * Gets the value of the lob property. * * @return * possible object is * {@link Integer } * */ public Integer getLob() { return lob; } /** * Sets the value of the lob property. * * @param value * allowed object is * {@link Integer } * */ public void setLob(Integer value) { this.lob = value; } /** * Gets the value of the avg property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getAvg() { return avg; } /** * Sets the value of the avg property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setAvg(BigDecimal value) { this.avg = value; } }