1 package com.sun.facelets.bean; 2 3 import java.util.ArrayList ; 4 import java.util.List ; 5 6 public final class Department { 7 8 private String name; 9 private List employees; 10 private Employee director; 11 12 public Department() { 13 super(); 14 this.employees = new ArrayList (); 15 } 16 17 public Employee getDirector() { 18 return director; 19 } 20 21 public void setDirector(Employee director) { 22 this.director = director; 23 } 24 25 public List getEmployees() { 26 return employees; 27 } 28 29 public void setEmployees(List employees) { 30 this.employees = employees; 31 } 32 33 public String getName() { 34 return name; 35 } 36 37 public void setName(String name) { 38 this.name = name; 39 } 40 41 } 42 | Popular Tags |