| Modifier and Type | Method and Description |
|---|---|
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 |
Team.setSportType(SportType sportType)
Sets the type of the team
|
| Constructor and Description |
|---|
Team(String nameTeam,
String nick,
SportType sportType,
String nameHeadquarters,
String residenceHeadquarters,
String localityHeadquarters,
String provinceHeadquarters,
String contactPerson)
Creates a new instance
Team |
Team(String nameTeam,
String nickTeam,
String descriptionTeam,
SportType sportType,
String nameHeadquarters,
String descriptionHeadquarters,
String residenceHeadquarters,
String localityHeadquarters,
String provinceHeadquarters,
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.