// // 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 batterPlayer complex type. * * <p>The following schema fragment specifies the expected content contained within this class. * * <pre> * <complexType name="batterPlayer"> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="season" type="{http://gdx.mlb.com/components/schema/1}batterPlayerStat"/> * <element name="series" type="{http://gdx.mlb.com/components/schema/1}batterPlayerStat"/> * <element name="month" type="{http://gdx.mlb.com/components/schema/1}batterPlayerStat"/> * <element name="Team" type="{http://gdx.mlb.com/components/schema/1}batterPlayerStat"/> * <element name="Empty" type="{http://gdx.mlb.com/components/schema/1}batterPlayerStat"/> * <element name="Men_On" type="{http://gdx.mlb.com/components/schema/1}batterPlayerStat"/> * <element name="RISP" type="{http://gdx.mlb.com/components/schema/1}batterPlayerStat"/> * <element name="vs_LHP" type="{http://gdx.mlb.com/components/schema/1}batterPlayerStat"/> * <element name="vs_RHP" type="{http://gdx.mlb.com/components/schema/1}batterPlayerStat"/> * <element name="vs_P" type="{http://gdx.mlb.com/components/schema/1}batterPlayerStat"/> * <element name="vs_P5" type="{http://gdx.mlb.com/components/schema/1}batterPlayerStat"/> * <element name="Pitch"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="loves" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="hates" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * <element name="faced"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="pitch" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * <element name="atbats"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <sequence> * <element name="ab" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="inning" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="event" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * <attribute name="team" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> * <attribute name="pos" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="first_name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="last_name" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="jersey_number" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="height" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="weight" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="bats" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="throws" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="dob" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "batterPlayer", propOrder = { "season", "series", "month", "playerTeam", "empty", "menOn", "risp", "vsLHP", "vsRHP", "vsP", "vsP5", "pitch", "faced", "atbats" }) public class BatterPlayer { @XmlElement(required = true) protected BatterPlayerStat season; @XmlElement(required = true) protected BatterPlayerStat series; @XmlElement(required = true) protected BatterPlayerStat month; @XmlElement(name = "Team", required = true) protected BatterPlayerStat playerTeam; @XmlElement(name = "Empty", required = true) protected BatterPlayerStat empty; @XmlElement(name = "Men_On", required = true) protected BatterPlayerStat menOn; @XmlElement(name = "RISP", required = true) protected BatterPlayerStat risp; @XmlElement(name = "vs_LHP", required = true) protected BatterPlayerStat vsLHP; @XmlElement(name = "vs_RHP", required = true) protected BatterPlayerStat vsRHP; @XmlElement(name = "vs_P", required = true) protected BatterPlayerStat vsP; @XmlElement(name = "vs_P5", required = true) protected BatterPlayerStat vsP5; @XmlElement(name = "Pitch", required = true) protected BatterPlayer.Pitch pitch; @XmlElement(required = true) protected BatterPlayer.Faced faced; @XmlElement(required = true) protected BatterPlayer.Atbats atbats; @XmlAttribute(name = "team") protected String team; @XmlAttribute(name = "id") protected Long id; @XmlAttribute(name = "pos") protected String pos; @XmlAttribute(name = "type") protected String type; @XmlAttribute(name = "first_name") protected String firstName; @XmlAttribute(name = "last_name") protected String lastName; @XmlAttribute(name = "jersey_number") protected Integer jerseyNumber; @XmlAttribute(name = "height") protected String height; @XmlAttribute(name = "weight") protected Integer weight; @XmlAttribute(name = "bats") protected String bats; @XmlAttribute(name = "throws") protected String _throws; @XmlAttribute(name = "dob") protected String dob; /** * Gets the value of the season property. * * @return * possible object is * {@link BatterPlayerStat } * */ public BatterPlayerStat getSeason() { return season; } /** * Sets the value of the season property. * * @param value * allowed object is * {@link BatterPlayerStat } * */ public void setSeason(BatterPlayerStat value) { this.season = value; } /** * Gets the value of the series property. * * @return * possible object is * {@link BatterPlayerStat } * */ public BatterPlayerStat getSeries() { return series; } /** * Sets the value of the series property. * * @param value * allowed object is * {@link BatterPlayerStat } * */ public void setSeries(BatterPlayerStat value) { this.series = value; } /** * Gets the value of the month property. * * @return * possible object is * {@link BatterPlayerStat } * */ public BatterPlayerStat getMonth() { return month; } /** * Sets the value of the month property. * * @param value * allowed object is * {@link BatterPlayerStat } * */ public void setMonth(BatterPlayerStat value) { this.month = value; } /** * Gets the value of the playerTeam property. * * @return * possible object is * {@link BatterPlayerStat } * */ public BatterPlayerStat getPlayerTeam() { return playerTeam; } /** * Sets the value of the playerTeam property. * * @param value * allowed object is * {@link BatterPlayerStat } * */ public void setPlayerTeam(BatterPlayerStat value) { this.playerTeam = value; } /** * Gets the value of the empty property. * * @return * possible object is * {@link BatterPlayerStat } * */ public BatterPlayerStat getEmpty() { return empty; } /** * Sets the value of the empty property. * * @param value * allowed object is * {@link BatterPlayerStat } * */ public void setEmpty(BatterPlayerStat value) { this.empty = value; } /** * Gets the value of the menOn property. * * @return * possible object is * {@link BatterPlayerStat } * */ public BatterPlayerStat getMenOn() { return menOn; } /** * Sets the value of the menOn property. * * @param value * allowed object is * {@link BatterPlayerStat } * */ public void setMenOn(BatterPlayerStat value) { this.menOn = value; } /** * Gets the value of the risp property. * * @return * possible object is * {@link BatterPlayerStat } * */ public BatterPlayerStat getRISP() { return risp; } /** * Sets the value of the risp property. * * @param value * allowed object is * {@link BatterPlayerStat } * */ public void setRISP(BatterPlayerStat value) { this.risp = value; } /** * Gets the value of the vsLHP property. * * @return * possible object is * {@link BatterPlayerStat } * */ public BatterPlayerStat getVsLHP() { return vsLHP; } /** * Sets the value of the vsLHP property. * * @param value * allowed object is * {@link BatterPlayerStat } * */ public void setVsLHP(BatterPlayerStat value) { this.vsLHP = value; } /** * Gets the value of the vsRHP property. * * @return * possible object is * {@link BatterPlayerStat } * */ public BatterPlayerStat getVsRHP() { return vsRHP; } /** * Sets the value of the vsRHP property. * * @param value * allowed object is * {@link BatterPlayerStat } * */ public void setVsRHP(BatterPlayerStat value) { this.vsRHP = value; } /** * Gets the value of the vsP property. * * @return * possible object is * {@link BatterPlayerStat } * */ public BatterPlayerStat getVsP() { return vsP; } /** * Sets the value of the vsP property. * * @param value * allowed object is * {@link BatterPlayerStat } * */ public void setVsP(BatterPlayerStat value) { this.vsP = value; } /** * Gets the value of the vsP5 property. * * @return * possible object is * {@link BatterPlayerStat } * */ public BatterPlayerStat getVsP5() { return vsP5; } /** * Sets the value of the vsP5 property. * * @param value * allowed object is * {@link BatterPlayerStat } * */ public void setVsP5(BatterPlayerStat value) { this.vsP5 = value; } /** * Gets the value of the pitch property. * * @return * possible object is * {@link BatterPlayer.Pitch } * */ public BatterPlayer.Pitch getPitch() { return pitch; } /** * Sets the value of the pitch property. * * @param value * allowed object is * {@link BatterPlayer.Pitch } * */ public void setPitch(BatterPlayer.Pitch value) { this.pitch = value; } /** * Gets the value of the faced property. * * @return * possible object is * {@link BatterPlayer.Faced } * */ public BatterPlayer.Faced getFaced() { return faced; } /** * Sets the value of the faced property. * * @param value * allowed object is * {@link BatterPlayer.Faced } * */ public void setFaced(BatterPlayer.Faced value) { this.faced = value; } /** * Gets the value of the atbats property. * * @return * possible object is * {@link BatterPlayer.Atbats } * */ public BatterPlayer.Atbats getAtbats() { return atbats; } /** * Sets the value of the atbats property. * * @param value * allowed object is * {@link BatterPlayer.Atbats } * */ public void setAtbats(BatterPlayer.Atbats value) { this.atbats = value; } /** * Gets the value of the team property. * * @return * possible object is * {@link String } * */ public String getTeam() { return team; } /** * Sets the value of the team property. * * @param value * allowed object is * {@link String } * */ public void setTeam(String value) { this.team = value; } /** * Gets the value of the id property. * * @return * possible object is * {@link Long } * */ public Long getId() { return id; } /** * Sets the value of the id property. * * @param value * allowed object is * {@link Long } * */ public void setId(Long value) { this.id = value; } /** * Gets the value of the pos property. * * @return * possible object is * {@link String } * */ public String getPos() { return pos; } /** * Sets the value of the pos property. * * @param value * allowed object is * {@link String } * */ public void setPos(String value) { this.pos = value; } /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = value; } /** * Gets the value of the firstName property. * * @return * possible object is * {@link String } * */ public String getFirstName() { return firstName; } /** * Sets the value of the firstName property. * * @param value * allowed object is * {@link String } * */ public void setFirstName(String value) { this.firstName = value; } /** * Gets the value of the lastName property. * * @return * possible object is * {@link String } * */ public String getLastName() { return lastName; } /** * Sets the value of the lastName property. * * @param value * allowed object is * {@link String } * */ public void setLastName(String value) { this.lastName = value; } /** * Gets the value of the jerseyNumber property. * * @return * possible object is * {@link Integer } * */ public Integer getJerseyNumber() { return jerseyNumber; } /** * Sets the value of the jerseyNumber property. * * @param value * allowed object is * {@link Integer } * */ public void setJerseyNumber(Integer value) { this.jerseyNumber = value; } /** * Gets the value of the height property. * * @return * possible object is * {@link String } * */ public String getHeight() { return height; } /** * Sets the value of the height property. * * @param value * allowed object is * {@link String } * */ public void setHeight(String value) { this.height = value; } /** * Gets the value of the weight property. * * @return * possible object is * {@link Integer } * */ public Integer getWeight() { return weight; } /** * Sets the value of the weight property. * * @param value * allowed object is * {@link Integer } * */ public void setWeight(Integer value) { this.weight = value; } /** * Gets the value of the bats property. * * @return * possible object is * {@link String } * */ public String getBats() { return bats; } /** * Sets the value of the bats property. * * @param value * allowed object is * {@link String } * */ public void setBats(String value) { this.bats = value; } /** * Gets the value of the throws property. * * @return * possible object is * {@link String } * */ public String getThrows() { return _throws; } /** * Sets the value of the throws property. * * @param value * allowed object is * {@link String } * */ public void setThrows(String value) { this._throws = value; } /** * Gets the value of the dob property. * * @return * possible object is * {@link String } * */ public String getDob() { return dob; } /** * Sets the value of the dob property. * * @param value * allowed object is * {@link String } * */ public void setDob(String value) { this.dob = 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="ab" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="inning" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="event" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "ab" }) public static class Atbats { protected List<BatterPlayer.Atbats.Ab> ab; /** * Gets the value of the ab 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 ab property. * * <p> * For example, to add a new item, do as follows: * <pre> * getAb().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link BatterPlayer.Atbats.Ab } * * */ public List<BatterPlayer.Atbats.Ab> getAb() { if (ab == null) { ab = new ArrayList<BatterPlayer.Atbats.Ab>(); } return this.ab; } /** * <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="inning" type="{http://www.w3.org/2001/XMLSchema}int" /> * <attribute name="event" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Ab { @XmlAttribute(name = "inning") protected Integer inning; @XmlAttribute(name = "event") protected String event; /** * Gets the value of the inning property. * * @return * possible object is * {@link Integer } * */ public Integer getInning() { return inning; } /** * Sets the value of the inning property. * * @param value * allowed object is * {@link Integer } * */ public void setInning(Integer value) { this.inning = value; } /** * Gets the value of the event property. * * @return * possible object is * {@link String } * */ public String getEvent() { return event; } /** * Sets the value of the event property. * * @param value * allowed object is * {@link String } * */ public void setEvent(String value) { this.event = 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="pitch" maxOccurs="unbounded" minOccurs="0"> * <complexType> * <complexContent> * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> * <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </element> * </sequence> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "pitch" }) public static class Faced { protected List<BatterPlayer.Faced.Pitch> pitch; /** * Gets the value of the pitch 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 pitch property. * * <p> * For example, to add a new item, do as follows: * <pre> * getPitch().add(newItem); * </pre> * * * <p> * Objects of the following type(s) are allowed in the list * {@link BatterPlayer.Faced.Pitch } * * */ public List<BatterPlayer.Faced.Pitch> getPitch() { if (pitch == null) { pitch = new ArrayList<BatterPlayer.Faced.Pitch>(); } return this.pitch; } /** * <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="type" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Pitch { @XmlAttribute(name = "type") protected String type; /** * Gets the value of the type property. * * @return * possible object is * {@link String } * */ public String getType() { return type; } /** * Sets the value of the type property. * * @param value * allowed object is * {@link String } * */ public void setType(String value) { this.type = 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="loves" type="{http://www.w3.org/2001/XMLSchema}string" /> * <attribute name="hates" type="{http://www.w3.org/2001/XMLSchema}string" /> * </restriction> * </complexContent> * </complexType> * </pre> * * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "") public static class Pitch { @XmlAttribute(name = "loves") protected String loves; @XmlAttribute(name = "hates") protected String hates; /** * Gets the value of the loves property. * * @return * possible object is * {@link String } * */ public String getLoves() { return loves; } /** * Sets the value of the loves property. * * @param value * allowed object is * {@link String } * */ public void setLoves(String value) { this.loves = value; } /** * Gets the value of the hates property. * * @return * possible object is * {@link String } * */ public String getHates() { return hates; } /** * Sets the value of the hates property. * * @param value * allowed object is * {@link String } * */ public void setHates(String value) { this.hates = value; } } }