org.web4thejob.joblet.contacts.Person Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.web4thejob.joblet.contacts Show documentation
Show all versions of org.web4thejob.joblet.contacts Show documentation
Starting point for building any joblet hierarchy
The newest version!
/*
* Copyright (c) 2012 Veniamin Isaias.
*
* This file is part of web4thejob.
*
* Web4thejob is free software: you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published by
* the Free Software Foundation, either version 3 of the License, or any later version.
*
* Web4thejob is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with web4thejob. If not, see .
*/
package org.web4thejob.joblet.contacts;
import java.util.Date;
import java.util.HashSet;
import java.util.Set;
/**
* @author Veniamin Isaias
* @since 1.0.0
*/
public class Person extends Contact {
private Set employers = new HashSet(0);
@org.hibernate.validator.constraints.NotBlank
private String firstName;
private String mobile;
private Date birthDate;
public Set getEmployers() {
return this.employers;
}
public void setEmployers(Set employers) {
this.employers = employers;
}
public String getMobile() {
return this.mobile;
}
public void setMobile(String mobile) {
this.mobile = mobile;
}
public Date getBirthDate() {
return this.birthDate;
}
public void setBirthDate(Date birthDate) {
this.birthDate = birthDate;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getFirstName() {
return firstName;
}
}