Interface Referee
- All Known Implementing Classes:
RefereeImpl
public interface Referee
Defines methods implemented by classes representing the sport event referee
-
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns the unique identifier of the currentRefereeinstancegetName()Returns the name of the referee represented by the currentRefereeinstanceReturns an unmodifiableMapcontaining referee nationality in different languagesgetNationality(Locale locale) Returns the nationality in the requested locale
-
Method Details
-
getId
Urn getId()Returns the unique identifier of the currentRefereeinstance- Returns:
- - the unique identifier of the current
Refereeinstance
-
getName
String getName()Returns the name of the referee represented by the currentRefereeinstance- Returns:
- - the name of the referee represented by the current
Refereeinstance
-
getNationality
Returns the nationality in the requested locale- Parameters:
locale- - aLocalein which the nationality is requested- Returns:
- - the nationality in the requested locale
-
getNationalities
Returns an unmodifiableMapcontaining referee nationality in different languages- Returns:
- - an unmodifiable
Mapcontaining referee nationality in different languages
-