Class Person
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 Summary
Fields Modifier and Type Field Description private @NotEmpty(message="global.error.person.first-name.not-empty") String
firstName
The first name of the person.private @NotEmpty(message="global.error.person.last-name.not-empty") String
lastName
The last name of the person.private String
middleName
The middle name of the person.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.private static long
serialVersionUID
-
Constructor Summary
Constructors Constructor Description Person()
-
Method Summary
-
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 firstNameThe first name of the person. Must not be empty. -
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 lastNameThe 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 orcidThe ORCID of the person. If present must comply to the pattern: xxxx-xxxx-xxxx-xxxx
-
-
Constructor Details
-
Person
public Person()
-