Class PersonType
- java.lang.Object
-
- com.fifa.connectid.sdk.core.api.models.PersonType
-
public class PersonType extends Object
The PersonType model.
-
-
Constructor Summary
Constructors Constructor Description PersonType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.joda.time.LocalDatedateOfBirth()Get the date of birth of a person.Stringgender()Get the sex of the person.List<MatchOfficialRegistrationType>matchOfficialRegistrations()Get a collection of match official registrations with attributes.List<OrganisationOfficialRegistrationType>organisationOfficialRegistrations()Get a collection of organisation official registrations with attributes.List<PlayerRegistrationType>playerRegistrations()Get a collection of player's registrations with attributes.List<TeamOfficialRegistrationType>teamOfficialRegistrations()Get a collection of team official registrations with attributes.PersonTypewithDateOfBirth(org.joda.time.LocalDate dateOfBirth)Set the date of birth of a person.PersonTypewithGender(String gender)Set the sex of the person.PersonTypewithMatchOfficialRegistrations(List<MatchOfficialRegistrationType> matchOfficialRegistrations)Set a collection of match official registrations with attributes.PersonTypewithOrganisationOfficialRegistrations(List<OrganisationOfficialRegistrationType> organisationOfficialRegistrations)Set a collection of organisation official registrations with attributes.PersonTypewithPlayerRegistrations(List<PlayerRegistrationType> playerRegistrations)Set a collection of player's registrations with attributes.PersonTypewithTeamOfficialRegistrations(List<TeamOfficialRegistrationType> teamOfficialRegistrations)Set a collection of team official registrations with attributes.
-
-
-
Method Detail
-
dateOfBirth
public org.joda.time.LocalDate dateOfBirth()
Get the date of birth of a person.- Returns:
- the dateOfBirth value
-
withDateOfBirth
public PersonType withDateOfBirth(org.joda.time.LocalDate dateOfBirth)
Set the date of birth of a person.- Parameters:
dateOfBirth- the dateOfBirth value to set- Returns:
- the PersonType object itself.
-
gender
public String gender()
Get the sex of the person. Possible values include: 'male', 'female'.- Returns:
- the gender value
-
withGender
public PersonType withGender(String gender)
Set the sex of the person. Possible values include: 'male', 'female'.- Parameters:
gender- the gender value to set- Returns:
- the PersonType object itself.
-
playerRegistrations
public List<PlayerRegistrationType> playerRegistrations()
Get a collection of player's registrations with attributes.- Returns:
- the playerRegistrations value
-
withPlayerRegistrations
public PersonType withPlayerRegistrations(List<PlayerRegistrationType> playerRegistrations)
Set a collection of player's registrations with attributes.- Parameters:
playerRegistrations- the playerRegistrations value to set- Returns:
- the PersonType object itself.
-
matchOfficialRegistrations
public List<MatchOfficialRegistrationType> matchOfficialRegistrations()
Get a collection of match official registrations with attributes.- Returns:
- the matchOfficialRegistrations value
-
withMatchOfficialRegistrations
public PersonType withMatchOfficialRegistrations(List<MatchOfficialRegistrationType> matchOfficialRegistrations)
Set a collection of match official registrations with attributes.- Parameters:
matchOfficialRegistrations- the matchOfficialRegistrations value to set- Returns:
- the PersonType object itself.
-
teamOfficialRegistrations
public List<TeamOfficialRegistrationType> teamOfficialRegistrations()
Get a collection of team official registrations with attributes.- Returns:
- the teamOfficialRegistrations value
-
withTeamOfficialRegistrations
public PersonType withTeamOfficialRegistrations(List<TeamOfficialRegistrationType> teamOfficialRegistrations)
Set a collection of team official registrations with attributes.- Parameters:
teamOfficialRegistrations- the teamOfficialRegistrations value to set- Returns:
- the PersonType object itself.
-
organisationOfficialRegistrations
public List<OrganisationOfficialRegistrationType> organisationOfficialRegistrations()
Get a collection of organisation official registrations with attributes.- Returns:
- the organisationOfficialRegistrations value
-
withOrganisationOfficialRegistrations
public PersonType withOrganisationOfficialRegistrations(List<OrganisationOfficialRegistrationType> organisationOfficialRegistrations)
Set a collection of organisation official registrations with attributes.- Parameters:
organisationOfficialRegistrations- the organisationOfficialRegistrations value to set- Returns:
- the PersonType object itself.
-
-