01: /*
02: * This file is not part of the ItsNat framework.
03: *
04: * Original source code use and closed source derivatives are authorized
05: * to third parties with no restriction or fee.
06: * The original source code is owned by the author.
07: *
08: * This program is distributed AS IS in the hope that it will be useful,
09: * but WITHOUT ANY WARRANTY; without even the implied warranty of
10: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11: *
12: * Author: Jose Maria Arranz Santamaria
13: * (C) Innowhere Software Services S.L., Spanish company, year 2007
14: */
15:
16: package org.itsnat.feashow.features.core.domutils;
17:
18: import java.util.Date;
19: import org.itsnat.feashow.features.components.shared.Person;
20:
21: public class PersonExtended extends Person {
22: protected int age;
23: protected boolean married;
24:
25: public PersonExtended(String firstName, String lastName, int age,
26: boolean married) {
27: super (firstName, lastName);
28:
29: this .age = age;
30: this .married = married;
31: }
32:
33: public int getAge() {
34: return age;
35: }
36:
37: public void setAge(int age) {
38: this .age = age;
39: }
40:
41: public boolean isMarried() {
42: return married;
43: }
44:
45: public void setMarried(boolean married) {
46: this.married = married;
47: }
48: }
|