| Modifier and Type | Method and Description |
|---|---|
SportType |
Competition.getSport()
Returns the sport type of the competition
|
SportType |
Team.getSportType()
Returns the type of the team
|
static SportType |
SportType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SportType[] |
SportType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Competition.setSport(SportType sport)
Sets the sport of the competition
|
void |
Team.setSportType(SportType sportType)
Sets the type of the team
|
| Constructor and Description |
|---|
Competition(String name,
String abbreviation,
String description,
SportType sport,
CompetitionType type,
String contactPerson,
String email,
String web,
String telephone,
Boolean openToInscription,
Boolean publicVisibility,
Integer minTeams,
Integer maxTeams,
User admin)
Creates a new instance
Competition |
Team(String nameTeam,
String nick,
SportType sportType,
String contactPerson)
Creates a new instance
Team |
Team(String nameTeam,
String nickTeam,
String descriptionTeam,
SportType sportType,
Headquarter headquarter,
String contactPerson,
String email,
String web,
String phone,
String socialMedia,
boolean openToInscription,
int minPlayers,
int maxPlayers,
boolean isVisible)
Creates a new instance
Team |
Copyright © 2017. All rights reserved.