1 package net.sf.mvnflexreports;
2
3 /***
4 * @author Rémi Flament
5 *
6 */
7 public class RemoteObjectMethod implements Comparable<RemoteObjectMethod> {
8
9 private String name;
10
11 private int count = 0;
12
13 public int getCount() {
14 return count;
15 }
16
17 public void setCount(int count) {
18 this.count = count;
19 }
20
21 public void increment() {
22 count++;
23 }
24
25 public String getName() {
26 return name;
27 }
28
29 public void setName(String name) {
30 this.name = name;
31 }
32
33 /***
34 * Compare method names
35 */
36 public int compareTo(RemoteObjectMethod o) {
37 return this.name.compareTo(o.name);
38 }
39
40 }