Package ejava.projects.eleague.dto
Class Contest
- java.lang.Object
-
- ejava.projects.eleague.dto.ReferencedType
-
- ejava.projects.eleague.dto.Contest
-
public class Contest extends ReferencedType
Java class for anonymous complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType> <complexContent> <extension base="{http://ejava.info/eLeague/1.0.2009.1}ReferencedType"> <sequence> <element name="starts" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="duration" type="{http://www.w3.org/2001/XMLSchema}long"/> <element name="location" type="{http://www.w3.org/2001/XMLSchema}IDREF" minOccurs="0"/> <element name="homeTeam" type="{http://www.w3.org/2001/XMLSchema}IDREF"/> <element name="awayTeam" type="{http://www.w3.org/2001/XMLSchema}IDREF"/> <element name="homeScore" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="awayScore" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> </sequence> <attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}long" /> </extension> </complexContent> </complexType>
-
-
Field Summary
Fields Modifier and Type Field Description protected IntegerawayScoreprotected ObjectawayTeamprotected longdurationprotected IntegerhomeScoreprotected ObjecthomeTeamprotected longidprotected Objectlocationprotected Datestarts-
Fields inherited from class ejava.projects.eleague.dto.ReferencedType
refid
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntegergetAwayScore()Gets the value of the awayScore property.ObjectgetAwayTeam()Gets the value of the awayTeam property.longgetDuration()Gets the value of the duration property.IntegergetHomeScore()Gets the value of the homeScore property.ObjectgetHomeTeam()Gets the value of the homeTeam property.longgetId()Gets the value of the id property.ObjectgetLocation()Gets the value of the location property.DategetStarts()Gets the value of the starts property.voidsetAwayScore(Integer value)Sets the value of the awayScore property.voidsetAwayTeam(Object value)Sets the value of the awayTeam property.voidsetDuration(long value)Sets the value of the duration property.voidsetHomeScore(Integer value)Sets the value of the homeScore property.voidsetHomeTeam(Object value)Sets the value of the homeTeam property.voidsetId(long value)Sets the value of the id property.voidsetLocation(Object value)Sets the value of the location property.voidsetStarts(Date value)Sets the value of the starts property.-
Methods inherited from class ejava.projects.eleague.dto.ReferencedType
getRefid, setRefid
-
-
-
-
Method Detail
-
getStarts
public Date getStarts()
Gets the value of the starts property.- Returns:
- possible object is
String
-
setStarts
public void setStarts(Date value)
Sets the value of the starts property.- Parameters:
value- allowed object isString
-
getDuration
public long getDuration()
Gets the value of the duration property.
-
setDuration
public void setDuration(long value)
Sets the value of the duration property.
-
getLocation
public Object getLocation()
Gets the value of the location property.- Returns:
- possible object is
Object
-
setLocation
public void setLocation(Object value)
Sets the value of the location property.- Parameters:
value- allowed object isObject
-
getHomeTeam
public Object getHomeTeam()
Gets the value of the homeTeam property.- Returns:
- possible object is
Object
-
setHomeTeam
public void setHomeTeam(Object value)
Sets the value of the homeTeam property.- Parameters:
value- allowed object isObject
-
getAwayTeam
public Object getAwayTeam()
Gets the value of the awayTeam property.- Returns:
- possible object is
Object
-
setAwayTeam
public void setAwayTeam(Object value)
Sets the value of the awayTeam property.- Parameters:
value- allowed object isObject
-
getHomeScore
public Integer getHomeScore()
Gets the value of the homeScore property.- Returns:
- possible object is
String
-
setHomeScore
public void setHomeScore(Integer value)
Sets the value of the homeScore property.- Parameters:
value- allowed object isString
-
getAwayScore
public Integer getAwayScore()
Gets the value of the awayScore property.- Returns:
- possible object is
String
-
setAwayScore
public void setAwayScore(Integer value)
Sets the value of the awayScore property.- Parameters:
value- allowed object isString
-
getId
public long getId()
Gets the value of the id property.
-
setId
public void setId(long value)
Sets the value of the id property.
-
-