Class PersonType


  • public class PersonType
    extends Object
    The PersonType model.
    • Constructor Detail

      • PersonType

        public PersonType()
    • 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.