01: /*
02: * Created on 29 oct. 2004
03: */
04: package org.objectweb.speedo.pobjects.cap;
05:
06: /**
07: * @author mhoudu
08: */
09: public class JDOScope {
10:
11: /** the scope identifier */
12: private int id;
13:
14: /** the scope label */
15: private String label;
16:
17: /**
18: * Default constructor.
19: * @param id The scope identifier.
20: * @param label The scope label.
21: */
22: public JDOScope(int id, String label) {
23: this .id = id;
24: this .label = label;
25: }
26:
27: /**
28: * Gets the id.
29: * @return Returns the id.
30: */
31: public int getId() {
32: return id;
33: }
34:
35: /**
36: * Sets the id.
37: * @param id The id to set.
38: */
39: public void setId(int id) {
40: this .id = id;
41: }
42:
43: /**
44: * Gets the label.
45: * @return Returns the label.
46: */
47: public String getLabel() {
48: return label;
49: }
50:
51: /**
52: * Sets the label.
53: * @param label The label to set.
54: */
55: public void setLabel(String label) {
56: this.label = label;
57: }
58:
59: }
|