1 package com.sun.facelets.bean; 2 3 public final class Employee { 4 5 private String firstName; 6 private String lastName; 7 private long id; 8 private boolean management; 9 10 public Employee() { 11 super(); 12 } 13 14 public Employee(long id, String lastName, String firstName, boolean management) { 15 this.id = id; 16 this.lastName = lastName; 17 this.firstName = firstName; 18 this.management = management; 19 } 20 21 public String getFirstName() { 22 return firstName; 23 } 24 25 public void setFirstName(String 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 getLastName() { 38 return lastName; 39 } 40 41 public void setLastName(String 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 |