//
// 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 game complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="game">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="team" type="{http://gdx.mlb.com/components/schema/1}gameTeam" maxOccurs="2" minOccurs="2"/>
* <element name="stadium" type="{http://gdx.mlb.com/components/schema/1}gameStadium"/>
* </sequence>
* <attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="local_game_time" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="game_pk" type="{http://www.w3.org/2001/XMLSchema}long" />
* <attribute name="game_time_et" type="{http://www.w3.org/2001/XMLSchema}string" />
* <attribute name="gameday_sw" type="{http://www.w3.org/2001/XMLSchema}string" />
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "game", propOrder = {
"team",
"stadium"
})
public class Game {
@XmlElement(required = true)
protected List<GameTeam> team;
@XmlElement(required = true)
protected GameStadium stadium;
@XmlAttribute(name = "type")
protected String type;
@XmlAttribute(name = "local_game_time")
protected String localGameTime;
@XmlAttribute(name = "game_pk")
protected Long gamePk;
@XmlAttribute(name = "game_time_et")
protected String gameTimeEt;
@XmlAttribute(name = "gameday_sw")
protected String gamedaySw;
/**
* Gets the value of the team 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 team property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getTeam().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link GameTeam }
*
*
*/
public List<GameTeam> getTeam() {
if (team == null) {
team = new ArrayList<GameTeam>();
}
return this.team;
}
/**
* Gets the value of the stadium property.
*
* @return
* possible object is
* {@link GameStadium }
*
*/
public GameStadium getStadium() {
return stadium;
}
/**
* Sets the value of the stadium property.
*
* @param value
* allowed object is
* {@link GameStadium }
*
*/
public void setStadium(GameStadium value) {
this.stadium = 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 localGameTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLocalGameTime() {
return localGameTime;
}
/**
* Sets the value of the localGameTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLocalGameTime(String value) {
this.localGameTime = value;
}
/**
* Gets the value of the gamePk property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getGamePk() {
return gamePk;
}
/**
* Sets the value of the gamePk property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setGamePk(Long value) {
this.gamePk = value;
}
/**
* Gets the value of the gameTimeEt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGameTimeEt() {
return gameTimeEt;
}
/**
* Sets the value of the gameTimeEt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGameTimeEt(String value) {
this.gameTimeEt = value;
}
/**
* Gets the value of the gamedaySw property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getGamedaySw() {
return gamedaySw;
}
/**
* Sets the value of the gamedaySw property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setGamedaySw(String value) {
this.gamedaySw = value;
}
}