src\com\groundside\jsf\Contact.java
06-Apr-2005 11:47:49
1 package com.groundside.jsf;
2
3 public class Contact
4 {
5 String _firstName;
6 String _lastName;
7 int _age;
8 int _contactId = 0;
9
10 public Contact()
11 {
12 }
13
14 public Contact(int contactId,
15 String firstName,
16 String lastName,
17 int age)
18 {
19 _contactId = contactId;
20 _firstName = firstName;
21 _lastName = lastName;
22 _age = age;
23
24 }
25
26 public String getFirstName()
27 {
28 return _firstName;
29 }
30
31 public void setFirstName(String firstName)
32 {
33 this._firstName = firstName;
34 }
35
36 public String getLastName()
37 {
38 return _lastName;
39 }
40
41 public void setLastName(String lastName)
42 {
43 this._lastName = lastName;
44 }
45
46 public int getAge()
47 {
48 return _age;
49 }
50
51 public void setAge(int age)
52 {
53 this._age = age;
54 }
55
56
57 public void setContactId(int contactId)
58 {
59 this._contactId = contactId;
60 }
61
62
63 public int getContactId()
64 {
65 return _contactId;
66 }
67 }