1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.jdiagnose.remote.system;
17
18 /***
19 * @author jmccrindle
20 */
21 public class DefaultCompositeStatistics implements CompositeStatistics {
22
23 private int totalChildren;
24 private int upChildren;
25 private int downChildren;
26
27 /***
28 * @param totalChildren
29 * @param upChildren
30 * @param downChildren
31 */
32 public DefaultCompositeStatistics(int totalChildren, int upChildren,
33 int downChildren) {
34 super();
35 this.totalChildren = totalChildren;
36 this.upChildren = upChildren;
37 this.downChildren = downChildren;
38 }
39
40 /***
41 * @return Returns the downChildren.
42 */
43 public int getDownChildren() {
44 return downChildren;
45 }
46 /***
47 * @return Returns the totalChildren.
48 */
49 public int getTotalChildren() {
50 return totalChildren;
51 }
52 /***
53 * @return Returns the upChildren.
54 */
55 public int getUpChildren() {
56 return upChildren;
57 }
58 }