// // 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.XmlElements; import javax.xml.bind.annotation.XmlType; /** * <p>Java class for inningScore complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="inningScore"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <choice maxOccurs="unbounded" minOccurs="0"> * <element name="atBatEvent" type="{http://gdx.mlb.com/components/schema/1}inningAtbat"/> * <element name="action" type="{http://gdx.mlb.com/components/schema/1}inningAction"/> * </choice> * <attribute name="inn" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="atbat_num" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="top_inning" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="home" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="away" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="pbp" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "inningScore", propOrder = { "atBatEventOrAction" }) public class InningScore { @XmlElements({ @XmlElement(name = "action", type = InningAction.class), @XmlElement(name = "atBatEvent", type = InningAtbat.class) }) protected List<Object> atBatEventOrAction; @XmlAttribute(name = "inn") protected Integer inn; @XmlAttribute(name = "atbat_num") protected Integer atbatNum; @XmlAttribute(name = "top_inning") protected String topInning; @XmlAttribute(name = "home") protected Integer home; @XmlAttribute(name = "away") protected Integer away; @XmlAttribute(name = "pbp") protected String pbp; /** * Gets the value of the atBatEventOrAction 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 atBatEventOrAction property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAtBatEventOrAction().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link InningAction } * {@link InningAtbat } * * */ public List<Object> getAtBatEventOrAction() { if (atBatEventOrAction == null) { atBatEventOrAction = new ArrayList<Object>(); } return this.atBatEventOrAction; } /** * Gets the value of the inn property. * * @return * possible object is * {@link Integer } * */ public Integer getInn() { return inn; } /** * Sets the value of the inn property. * * @param value * allowed object is * {@link Integer } * */ public void setInn(Integer value) { this.inn = value; } /** * Gets the value of the atbatNum property. * * @return * possible object is * {@link Integer } * */ public Integer getAtbatNum() { return atbatNum; } /** * Sets the value of the atbatNum property. * * @param value * allowed object is * {@link Integer } * */ public void setAtbatNum(Integer value) { this.atbatNum = value; } /** * Gets the value of the topInning property. * * @return * possible object is * {@link String } * */ public String getTopInning() { return topInning; } /** * Sets the value of the topInning property. * * @param value * allowed object is * {@link String } * */ public void setTopInning(String value) { this.topInning = value; } /** * Gets the value of the home property. * * @return * possible object is * {@link Integer } * */ public Integer getHome() { return home; } /** * Sets the value of the home property. * * @param value * allowed object is * {@link Integer } * */ public void setHome(Integer value) { this.home = value; } /** * Gets the value of the away property. * * @return * possible object is * {@link Integer } * */ public Integer getAway() { return away; } /** * Sets the value of the away property. * * @param value * allowed object is * {@link Integer } * */ public void setAway(Integer value) { this.away = value; } /** * Gets the value of the pbp property. * * @return * possible object is * {@link String } * */ public String getPbp() { return pbp; } /** * Sets the value of the pbp property. * * @param value * allowed object is * {@link String } * */ public void setPbp(String value) { this.pbp = value; } }