01: /*
02: * Created on 29 oct. 2004
03: */
04: package org.objectweb.speedo.pobjects.cap;
05:
06: /**
07: * @author mhoudu
08: */
09: public class JDOAction {
10:
11: /** the action identifier */
12: private int id;
13:
14: /** the action label */
15: private String label;
16:
17: /** the action path */
18: private String path;
19:
20: /**
21: * Default constructor.
22: * @param id The action identifier.
23: * @param label The action label.
24: * @param path The action path.
25: */
26: public JDOAction(int id, String label, String path) {
27: this .id = id;
28: this .label = label;
29: this .path = path;
30: }
31:
32: /**
33: * Gets the id.
34: * @return Returns the id.
35: */
36: public int getId() {
37: return id;
38: }
39:
40: /**
41: * Sets the id.
42: * @param id The id to set.
43: */
44: public void setId(int id) {
45: this .id = id;
46: }
47:
48: /**
49: * Gets the label.
50: * @return Returns the label.
51: */
52: public String getLabel() {
53: return label;
54: }
55:
56: /**
57: * Sets the label.
58: * @param label The label to set.
59: */
60: public void setLabel(String label) {
61: this .label = label;
62: }
63:
64: /**
65: * Gets the path.
66: * @return Returns the path.
67: */
68: public String getPath() {
69: return path;
70: }
71:
72: /**
73: * Sets the path.
74: * @param path The path to set.
75: */
76: public void setPath(String path) {
77: this.path = path;
78: }
79:
80: }
|