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