Class MatchOfficialRegistrationType
- java.lang.Object
-
- com.fifa.connectid.sdk.core.api.models.MatchOfficialRegistrationType
-
public class MatchOfficialRegistrationType extends Object
This represents match official (e.g. Referee) registration and its attributes. A match official registration is assigned to a person. A match official registration marks a person as a match official for an organisation and the given validity period.
-
-
Constructor Summary
Constructors Constructor Description MatchOfficialRegistrationType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdiscipline()Get the sport/discipline this registration is for.StringmatchOfficialRole()Get the match official role type, e.g.StringorganisationFIFAId()Get the worldwide unique FIFA id of the club or organisation the person is registered for.Stringstatus()Get the status of the registration.StringsystemId()Get the identifier of the system to which the registration belongs.MatchOfficialRegistrationTypewithDiscipline(String discipline)Set the sport/discipline this registration is for.MatchOfficialRegistrationTypewithMatchOfficialRole(String matchOfficialRole)Set the match official role type, e.g.MatchOfficialRegistrationTypewithOrganisationFIFAId(String organisationFIFAId)Set the worldwide unique FIFA id of the club or organisation the person is registered for.MatchOfficialRegistrationTypewithStatus(String status)Set the status of the registration.MatchOfficialRegistrationTypewithSystemId(String systemId)Set the identifier of the system to which the registration belongs.
-
-
-
Method Detail
-
matchOfficialRole
public String matchOfficialRole()
Get the match official role type, e.g. Referee or Observer. Possible values include: 'Referee', 'RefereeAssistant', 'Observer', 'Delegate', 'Other', 'VAR', 'AVAR'.- Returns:
- the matchOfficialRole value
-
withMatchOfficialRole
public MatchOfficialRegistrationType withMatchOfficialRole(String matchOfficialRole)
Set the match official role type, e.g. Referee or Observer. Possible values include: 'Referee', 'RefereeAssistant', 'Observer', 'Delegate', 'Other', 'VAR', 'AVAR'.- Parameters:
matchOfficialRole- the matchOfficialRole value to set- Returns:
- the MatchOfficialRegistrationType object itself.
-
discipline
public String discipline()
Get the sport/discipline this registration is for. E.g. a futsal referee is distinct from a football referee. Possible values include: 'Football', 'Futsal', 'BeachSoccer'.- Returns:
- the discipline value
-
withDiscipline
public MatchOfficialRegistrationType withDiscipline(String discipline)
Set the sport/discipline this registration is for. E.g. a futsal referee is distinct from a football referee. Possible values include: 'Football', 'Futsal', 'BeachSoccer'.- Parameters:
discipline- the discipline value to set- Returns:
- the MatchOfficialRegistrationType object itself.
-
organisationFIFAId
public String organisationFIFAId()
Get the worldwide unique FIFA id of the club or organisation the person is registered for.- Returns:
- the organisationFIFAId value
-
withOrganisationFIFAId
public MatchOfficialRegistrationType withOrganisationFIFAId(String organisationFIFAId)
Set the worldwide unique FIFA id of the club or organisation the person is registered for.- Parameters:
organisationFIFAId- the organisationFIFAId value to set- Returns:
- the MatchOfficialRegistrationType object itself.
-
status
public String status()
Get the status of the registration. Possible values include: 'active', 'inactive', 'pending'.- Returns:
- the status value
-
withStatus
public MatchOfficialRegistrationType withStatus(String status)
Set the status of the registration. Possible values include: 'active', 'inactive', 'pending'.- Parameters:
status- the status value to set- Returns:
- the MatchOfficialRegistrationType object itself.
-
systemId
public String systemId()
Get the identifier of the system to which the registration belongs.- Returns:
- the systemId value
-
withSystemId
public MatchOfficialRegistrationType withSystemId(String systemId)
Set the identifier of the system to which the registration belongs.- Parameters:
systemId- the systemId value to set- Returns:
- the MatchOfficialRegistrationType object itself.
-
-