01: /**
02: *
03: */package newprocess.diagram.cust.annotations.dialogs;
04:
05: /**
06: * Class used as a trivial case of a Annotation
07: * Serves as the business object for the AnnotationTableViewer.
08: *
09: * An Annotation has the following properties: url
10: *
11: * @author sh
12: */
13: public class Annotation {
14: private String uri = "";
15:
16: /**
17: * Create an Annotation with an initial url
18: * @param url
19: */
20: public Annotation(String url) {
21: super ();
22: setUri(url);
23: }
24:
25: /**
26: * @return String Annotation URI
27: */
28: public String getUri() {
29: return uri;
30: }
31:
32: /**
33: * sets the "uri" property
34: * @param uri
35: */
36: public void setUri(String uri) {
37: this.uri = uri;
38: }
39: }
|