public class TeamCompetition extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
TeamCompetition.TeamCompetitionID |
| Constructor and Description |
|---|
TeamCompetition()
Empty constructor for the JPA TeamCompetition.
|
TeamCompetition(Competition competition,
Team team,
Date date)
Constructor for JPA TeamCompetition which gets some necessary parameters to
create a teamCompetition
|
| Modifier and Type | Method and Description |
|---|---|
Competition |
getCompetition()
Get the competition.
|
Date |
getDate()
Get the date of the teamCompetition relation.
|
Team |
getTeam()
Get the team.
|
void |
setCompetition(Competition competition)
Set the competition of the teamCompetition relation.
|
void |
setDate(Date date)
Set the date of the teamCompetition relation.
|
void |
setTeam(Team team)
Set the team of the teamCompetition relation.
|
public TeamCompetition()
public TeamCompetition(Competition competition, Team team, Date date)
competition - The competition which team participate.team - The team which participate in competition.date - The date of competition.public Competition getCompetition()
public void setCompetition(Competition competition)
competition - the competition of the teamCompetition relationpublic Team getTeam()
public void setTeam(Team team)
team - the team of the teamCompetition relationpublic Date getDate()
public void setDate(Date date)
date - the date of the teamCompetition relationCopyright © 2018. All rights reserved.