KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sun > facelets > bean > Employee


1 package com.sun.facelets.bean;
2
3 public final class Employee {
4
5     private String JavaDoc firstName;
6     private String JavaDoc lastName;
7     private long id;
8     private boolean management;
9     
10     public Employee() {
11         super();
12     }
13     
14     public Employee(long id, String JavaDoc lastName, String JavaDoc firstName, boolean management) {
15         this.id = id;
16         this.lastName = lastName;
17         this.firstName = firstName;
18         this.management = management;
19     }
20
21     public String JavaDoc getFirstName() {
22         return firstName;
23     }
24
25     public void setFirstName(String JavaDoc firstName) {
26         this.firstName = firstName;
27     }
28
29     public long getId() {
30         return id;
31     }
32
33     public void setId(long id) {
34         this.id = id;
35     }
36
37     public String JavaDoc getLastName() {
38         return lastName;
39     }
40
41     public void setLastName(String JavaDoc lastName) {
42         this.lastName = lastName;
43     }
44
45     public boolean isManagement() {
46         return management;
47     }
48
49     public void setManagement(boolean management) {
50         this.management = management;
51     }
52
53 }
54
Popular Tags