001 /** 002 * Copyright 2005-2014 The Kuali Foundation 003 * 004 * Licensed under the Educational Community License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.opensource.org/licenses/ecl2.php 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016 package org.kuali.rice.krad.datadictionary.validation; 017 018 import java.util.Date; 019 import java.util.List; 020 021 022 /** 023 * 024 * @author Kuali Rice Team (rice.collab@kuali.org) 025 */ 026 public class Person { 027 private String firstName; 028 private String lastName; 029 private String middleName; 030 private String gender; 031 private Date birthDate; 032 private List<Address> addresses; 033 /** 034 * @return the firstName 035 */ 036 public String getFirstName() { 037 return this.firstName; 038 } 039 /** 040 * @param firstName the firstName to set 041 */ 042 public void setFirstName(String firstName) { 043 this.firstName = firstName; 044 } 045 /** 046 * @return the lastName 047 */ 048 public String getLastName() { 049 return this.lastName; 050 } 051 /** 052 * @param lastName the lastName to set 053 */ 054 public void setLastName(String lastName) { 055 this.lastName = lastName; 056 } 057 /** 058 * @return the middleName 059 */ 060 public String getMiddleName() { 061 return this.middleName; 062 } 063 /** 064 * @param middleName the middleName to set 065 */ 066 public void setMiddleName(String middleName) { 067 this.middleName = middleName; 068 } 069 /** 070 * @return the gender 071 */ 072 public String getGender() { 073 return this.gender; 074 } 075 /** 076 * @param gender the gender to set 077 */ 078 public void setGender(String gender) { 079 this.gender = gender; 080 } 081 /** 082 * @return the birthDate 083 */ 084 public Date getBirthDate() { 085 return this.birthDate; 086 } 087 /** 088 * @param birthDate the birthDate to set 089 */ 090 public void setBirthDate(Date birthDate) { 091 this.birthDate = birthDate; 092 } 093 /** 094 * @return the addresses 095 */ 096 public List<Address> getAddresses() { 097 return this.addresses; 098 } 099 /** 100 * @param addresses the addresses to set 101 */ 102 public void setAddresses(List<Address> addresses) { 103 this.addresses = addresses; 104 } 105 106 }