Election

Election

Fields

The following fields need to be "elected":

  • Birth Date
  • Gender
  • Preferred Name
  • Legal Name

The default service implementation includes four properties:

  • birthDateFieldElector (default: new DefaultBirthDateFieldElector())
  • genderFieldElector (default: new DefaultGenderFieldElector())
  • preferredNameFieldElector (default: new DefaultNameFieldSelector())
  • officialNameFieldElector (default: new DefaultNameFieldSelector())

These can be overwritten with appropriate implementations of the FieldElector class for each of the properties.