Package com.starpoints.league
Class Season
- java.lang.Object
-
- com.starpoints.league.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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addMatchDay(MatchDay matchDay)
Adds a matchday.MatchDay
getMatchDay(int index)
Gets the matchday with the given index.java.util.List<MatchDay>
getMatchDays()
Gets the list of all matchdays.
-
-
-
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.
-
-