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.components.shared;
17:
18: public class Person {
19: protected String firstName;
20: protected String lastName;
21:
22: public Person(String firstName, String lastName) {
23: this .firstName = firstName;
24: this .lastName = lastName;
25: }
26:
27: public String getFirstName() {
28: return firstName;
29: }
30:
31: public void setFirstName(String firstName) {
32: this .firstName = firstName;
33: }
34:
35: public String getLastName() {
36: return lastName;
37: }
38:
39: public void setLastName(String lastName) {
40: this .lastName = lastName;
41: }
42:
43: public String toString() {
44: return firstName + " " + lastName;
45: }
46: }
|