mirror of
https://github.com/eclipse-sailing-analytics/sailing-analytics.git
synced 2026-09-30 17:36:40 +00:00
Added the StrippedRaceDTO to the RaceInLeaderboardDTO
This commit is contained in:
1 parent
dc94802571
commit
410d54244c
1 file changed
+15
+15
@@ -7,6 +7,7 @@ public class RaceInLeaderboardDTO implements IsSerializable {
|
||||
private String raceColumnName;
|
||||
private boolean medalRace;
|
||||
private RaceIdentifier trackedRaceIdentifier;
|
||||
private StrippedRaceDTO race;
|
||||
|
||||
public String getRaceColumnName() {
|
||||
return raceColumnName;
|
||||
@@ -41,6 +42,20 @@ public class RaceInLeaderboardDTO implements IsSerializable {
|
||||
return trackedRaceIdentifier;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns an object with data (e.g. start date or places) for the RaceInLeaderboardDTO. Is <code>null</code>, if
|
||||
* the method {@link RaceInLeaderboardDTO#isTrackedRace()} returns <code>false</code>.
|
||||
*
|
||||
* @return An Object with additional data, or <code>null</code> if the race isn't tracked
|
||||
*/
|
||||
public StrippedRaceDTO getRace() {
|
||||
return race;
|
||||
}
|
||||
|
||||
public void setRace(StrippedRaceDTO race) {
|
||||
this.race = race;
|
||||
}
|
||||
|
||||
@Override
|
||||
public int hashCode() {
|
||||
final int prime = 31;
|
||||
|
||||
Reference in new issue
Block a user