1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104
| package com.course.vo;
import java.util.Arrays; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set;
public class Department {
private List<String> titleList; private List<User> staffList; private Set<String> titleSet; private Set<User> staffSet; private Map<String, String> databaseMap; private Map<Integer, User> staffMap; private String[] titleArray; private User[] staffArray; private Properties properties;
public List<String> getTitleList() { return titleList; }
public void setTitleList(List<String> titleList) { this.titleList = titleList; }
public List<User> getStaffList() { return staffList; }
public void setStaffList(List<User> staffList) { this.staffList = staffList; }
public Set<String> getTitleSet() { return titleSet; }
public void setTitleSet(Set<String> titleSet) { this.titleSet = titleSet; }
public Set<User> getStaffSet() { return staffSet; }
public void setStaffSet(Set<User> staffSet) { this.staffSet = staffSet; }
public Map<String, String> getDatabaseMap() { return databaseMap; }
public void setDatabaseMap(Map<String, String> databaseMap) { this.databaseMap = databaseMap; }
public Map<Integer, User> getStaffMap() { return staffMap; }
public void setStaffMap(Map<Integer, User> staffMap) { this.staffMap = staffMap; }
public String[] getTitleArray() { return titleArray; }
public void setTitleArray(String[] titleArray) { this.titleArray = titleArray; }
public User[] getStaffArray() { return staffArray; }
public void setStaffArray(User[] staffArray) { this.staffArray = staffArray; }
public Properties getProperties() { return properties; }
public void setProperties(Properties properties) { this.properties = properties; }
@Override public String toString() { return "Department [titleList=" + titleList + ", staffList=" + staffList + ", titleSet=" + titleSet + ", staffSet=" + staffSet + ", databaseMap=" + databaseMap + ", staffMap=" + staffMap + ", titleArray=" + Arrays.toString(titleArray) + ", staffArray=" + Arrays.toString(staffArray) + ", properties=" + properties + "]"; } }
|