Class Season

  • All Implemented Interfaces:
    java.io.Serializable

    public class Season
    extends java.lang.Object
    implements java.io.Serializable
    The season of a league game.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      Season()  
    • Constructor Detail

      • Season

        public Season()
    • Method Detail

      • addMatchDay

        public void addMatchDay​(MatchDay matchDay)
        Adds a matchday.
        Parameters:
        matchDay - The Matchday.
      • getMatchDay

        public MatchDay getMatchDay​(int index)
        Gets the matchday with the given index.
        Parameters:
        index - Matchday index.
        Returns:
        The matchday.
      • getMatchDays

        public java.util.List<MatchDay> getMatchDays()
        Gets the list of all matchdays.
        Returns:
        The list.