Package edu.ntnu.idatt1002.k1g4.people
Class Referee
java.lang.Object
edu.ntnu.idatt1002.k1g4.people.Person
edu.ntnu.idatt1002.k1g4.people.Referee
The type Referee.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the license boolean.void
setHasLicense
(boolean hasLicense) Sets has license.
-
Constructor Details
-
Referee
Instantiates a new Referee.- Parameters:
name
- , String. Name of the referee. Not blank.hasLicense
- , boolean. If the referee has a license.
-
-
Method Details
-
isHasLicense
public boolean isHasLicense()Gets the license boolean.- Returns:
- the boolean
-
setHasLicense
public void setHasLicense(boolean hasLicense) Sets has license.- Parameters:
hasLicense
- the has license
-