public class FinishedMatch
extends java.lang.Object
| Constructor and Description |
|---|
FinishedMatch() |
| Modifier and Type | Method and Description |
|---|---|
java.util.Date |
getDate()
Fetch the timestamp that you finished the match
|
int |
getDuration()
Get the number of seconds it took you to play this match
|
int |
getMatchId() |
int |
getMatchPoints() |
int |
getOpponentId() |
int |
getOpponentScore() |
int |
getProfileId()
Get the user profile used for this match
|
double |
getRatingAfterMatch() |
int |
getYourScore() |
void |
setDate(java.util.Date date)
Set the timestamp of when you finished this match
|
void |
setDuration(int duration) |
void |
setMatchId(int matchId)
Set the database unique Id for this record.
|
void |
setMatchPoints(int matchPoints) |
void |
setOpponentId(int opponentId) |
void |
setOpponentScore(int opponentScore) |
void |
setProfileId(int profileId)
Get the user profile used for this match
|
void |
setRatingAfterMatch(double ratingAfterMatch) |
void |
setYourScore(int yourScore) |
public int getMatchId()
public void setMatchId(int matchId)
matchId - the matchIid to setpublic int getProfileId()
public void setProfileId(int profileId)
profileId - the profileId to setpublic int getOpponentId()
public void setOpponentId(int opponentId)
opponentId - the opponentId to setpublic int getMatchPoints()
public void setMatchPoints(int matchPoints)
matchPoints - the matchPoints to setpublic int getYourScore()
public void setYourScore(int yourScore)
yourScore - the yourScore to setpublic int getOpponentScore()
public void setOpponentScore(int opponentScore)
opponentScore - the opponentScore to setpublic double getRatingAfterMatch()
public void setRatingAfterMatch(double ratingAfterMatch)
ratingAfterMatch - the ratingAfterMatch to setpublic int getDuration()
public void setDuration(int duration)
duration - the duration to setpublic java.util.Date getDate()
public void setDate(java.util.Date date)
date - the date to set