1
2
3
4
5
6 package org.dbe.studio.tools.ontologyviewer.metamodels.odm;
7
8 /***
9 * OWL Full does not put any constraints on annotations in an ontology. OWL
10 * DL allows annotations on:
11 * - classes,
12 * - properties,
13 * - individuals and
14 * - ontology headers.
15 *
16 * Five annotation properties are predefined by OWL, namely:
17 *
18 * - owl:versionInfo
19 * - rdfs:label
20 * - rdfs:comment
21 * - rdfs:seeAlso
22 * - rdfs:isDefinedBy
23 *
24 */
25 public class OdmAnnotationProperty {
26
27 String name;
28 String id;
29 String value;
30
31 /***
32 *
33 */
34 public OdmAnnotationProperty() {
35
36 }
37
38 public OdmAnnotationProperty(String name, String id) {
39 this.name = name;
40 this.id = id;
41 }
42
43 public OdmAnnotationProperty(String name, String id, String value) {
44 this.name = name;
45 this.id = id;
46 this.value = value;
47 }
48
49 //****************** setters/getters ********************
50
51 public void setName(String name) {
52 this.name = name;
53 }
54
55 public void setId(String id) {
56 this.id = id;
57 }
58
59 public void setValue(String value) {
60 this.value = value;
61 }
62
63 public String getName() {
64 return name;
65 }
66
67 public String getId() {
68 return id;
69 }
70
71 public String getValue() {
72 return value;
73 }
74
75 }