01: /**
02: * Copyright (C) 2001-2006 France Telecom R&D
03: */package simplecollection;
04:
05: import java.util.Collection;
06:
07: public class Department {
08: String name;
09: Collection employees;
10:
11: public Collection getEmployees() {
12: return employees;
13: }
14:
15: public void setEmployees(Collection employees) {
16: this .employees = employees;
17: }
18:
19: public String getName() {
20: return name;
21: }
22:
23: public void setName(String name) {
24: this.name = name;
25: }
26: }
|