01: package net.sourceforge.tracelog.config;
02:
03: import java.io.Serializable;
04: import java.util.LinkedList;
05: import java.util.List;
06:
07: public class LogGroup implements Serializable {
08: private static final long serialVersionUID = -2359256306395285674L;
09: public String groupName;
10: public int groupOrder;
11: private List<LogFile> logFiles;
12:
13: public LogGroup() {
14: this .groupName = "";
15: this .groupOrder = 0;
16: this .logFiles = new LinkedList<LogFile>();
17: }
18:
19: /**
20: * @return the groupName
21: */
22: public String getGroupName() {
23: return groupName;
24: }
25:
26: /**
27: * @return the groupOrder
28: */
29: public int getGroupOrder() {
30: return groupOrder;
31: }
32:
33: /**
34: * @return the logFiles
35: */
36: public List<LogFile> getLogFiles() {
37: return logFiles;
38: }
39:
40: /**
41: * @param groupName
42: * the groupName to set
43: */
44: public void setGroupName(String groupName) {
45: this .groupName = groupName.trim();
46: }
47:
48: /**
49: * @param groupOrder
50: * the groupOrder to set
51: */
52: public void setGroupOrder(int groupOrder) {
53: this .groupOrder = groupOrder;
54: }
55:
56: /**
57: * @param logFiles
58: * the logFiles to set
59: */
60: public void setLogFiles(List<LogFile> logFiles) {
61: this.logFiles = logFiles;
62: }
63:
64: }
|