| Modifier and Type | Method and Description |
|---|---|
CompetitionType |
Competition.getType()
Returns the type of the competition
|
static CompetitionType |
CompetitionType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CompetitionType[] |
CompetitionType.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.setType(CompetitionType type)
Sets the type of the competition
|
| 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 |
Competition(String name,
String abbreviation,
String description,
SportType sport,
CompetitionType type,
String contactPerson,
String email,
String web,
String telephone,
String facebook,
String twitter,
String instagram,
Boolean openToInscription,
Boolean publicVisibility,
Integer minTeams,
Integer maxTeams,
User admin,
List<Headquarter> headquarters)
Creates a new instance
Competition |
Copyright © 2017. All rights reserved.