java.lang.Object
eu.dzhw.fdz.metadatamanagement.common.domain.Person
All Implemented Interfaces:
Serializable

public class Person
extends Object
implements Serializable
A representation of a person.
See Also:
Serialized Form
  • Field Details

    • serialVersionUID

      private static final long serialVersionUID
      See Also:
      Constant Field Values
    • firstName

      @NotEmpty(message="global.error.person.first-name.not-empty") private @NotEmpty(message="global.error.person.first-name.not-empty") String firstName
      The first name of the person. Must not be empty.
    • middleName

      private String middleName
      The middle name of the person.
    • lastName

      @NotEmpty(message="global.error.person.last-name.not-empty") private @NotEmpty(message="global.error.person.last-name.not-empty") String lastName
      The last name of the person. Must not be empty.
    • orcid

      @Pattern(regexp="^\\d{4}-\\d{4}-\\d{4}-(\\d{3}X|\\d{4})$", message="global.error.person.orcid.pattern") private @Pattern(regexp="^\\d{4}-\\d{4}-\\d{4}-(\\d{3}X|\\d{4})$",message="global.error.person.orcid.pattern") String orcid
      The ORCID of the person. If present must comply to the pattern: xxxx-xxxx-xxxx-xxxx
  • Constructor Details

    • Person

      public Person()