@Entity public class InvitationBetweenTeamCompetition extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
InvitationBetweenTeamCompetition.InvitationBetweenTeamCompetitionAssignmentId
Class to manage the composite primary key
|
static class |
InvitationBetweenTeamCompetition.State |
| Constructor and Description |
|---|
InvitationBetweenTeamCompetition() |
InvitationBetweenTeamCompetition(Team team,
Competition competition)
Creates a new instance
InvitationBetweenTeamCompetition |
| Modifier and Type | Method and Description |
|---|---|
Competition |
getCompetition()
Returns the competition
|
Date |
getDate()
Returns the date of the invitation
|
InvitationBetweenTeamCompetition.State |
getState()
Returns the status of the invitation
|
Team |
getTeam()
Returns the team
|
void |
setCompetition(Competition competition)
Sets the competition
|
void |
setDate(Date date)
Sets the date of the invitation
|
void |
setState(InvitationBetweenTeamCompetition.State state)
Sets the status of the invitation
|
void |
setTeam(Team team)
Sets the team
|
public InvitationBetweenTeamCompetition()
public InvitationBetweenTeamCompetition(Team team, Competition competition)
InvitationBetweenTeamCompetitionteam - the team to send an invitationcompetition - the competition that sends an invitationNullPointerException - if a null value is passed as the value for any parameter.public Team getTeam()
public void setTeam(Team team)
team - the team to setpublic Competition getCompetition()
public void setCompetition(Competition competition)
competition - the competition to setpublic InvitationBetweenTeamCompetition.State getState()
public void setState(InvitationBetweenTeamCompetition.State state)
state - the status of the invitationpublic Date getDate()
public void setDate(Date date)
date - the date of the invitationCopyright © 2018. All rights reserved.