1 package ca.uhn.hl7v2.sourcegen;
2
3 public class TriggerDesc implements Comparable<TriggerDesc> {
4
5 private String description;
6 private String returnStructure;
7 private String structure;
8 private String type;
9 private String version;
10
11 public String getDescription() {
12 return description;
13 }
14
15 public String getReturnStructure() {
16 return returnStructure;
17 }
18
19 public String getStructure() {
20 return structure;
21 }
22
23 public String getType() {
24 return type;
25 }
26
27 public String getVersion() {
28 return version;
29 }
30
31 public void setDescription(String theDescription) {
32 description = theDescription;
33 }
34
35 public void setReturnStructure(String theReturnStructure) {
36 returnStructure = theReturnStructure;
37 }
38
39 public void setStructure(String theStructure) {
40 structure = theStructure;
41 }
42
43 public void setType(String theType) {
44 type = theType;
45 }
46
47 public void setVersion(String theVersion) {
48 version = theVersion;
49 }
50
51
52
53
54 public int compareTo(TriggerDesc theO) {
55 return type.compareTo(theO.type);
56 }
57
58 }