Class 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 Detail

      • starts

        protected Date starts
      • duration

        protected long duration
      • location

        protected Object location
      • homeTeam

        protected Object homeTeam
      • awayTeam

        protected Object awayTeam
      • homeScore

        protected Integer homeScore
      • awayScore

        protected Integer awayScore
      • id

        protected long id
    • Constructor Detail

      • Contest

        public Contest()
        Default no-arg constructor
      • Contest

        public Contest​(String refid,
                       Date starts,
                       long duration,
                       Object location,
                       Object homeTeam,
                       Object awayTeam,
                       Integer homeScore,
                       Integer awayScore,
                       long id)
        Fully-initialising value constructor
    • 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 is String
      • 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 is Object
      • 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 is Object
      • 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 is Object
      • 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 is String
      • 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 is String
      • getId

        public long getId()
        Gets the value of the id property.
      • setId

        public void setId​(long value)
        Sets the value of the id property.