1 package net.sf.mvnflexreports;
2
3 import java.util.Map;
4 import java.util.TreeMap;
5
6 /***
7 * @author Rémi Flament
8 *
9 */
10 public class RemoteObject {
11
12 private String destination;
13
14 private int count = 0;
15
16 private Map<String, RemoteObjectMethod> methods = new TreeMap<String, RemoteObjectMethod>();
17
18 public Map<String, RemoteObjectMethod> getMethods() {
19 return methods;
20 }
21
22 public void setMethods(Map<String, RemoteObjectMethod> methods) {
23 this.methods = methods;
24 }
25
26 public String getDestination() {
27 return destination;
28 }
29
30 public void setDestination(String destination) {
31 this.destination = destination;
32 }
33
34 public int getCount() {
35 return count;
36 }
37
38 public void setCount(int count) {
39 this.count = count;
40 }
41
42 public void increment() {
43 count++;
44 }
45
46 }