source: AnnotationManagerN4J/src/main/java/de/mpiwg/itgroup/annotations/Annotation.java @ 8:c3cc6a41dd1c

Last change on this file since 8:c3cc6a41dd1c was 8:c3cc6a41dd1c, checked in by casties, 12 years ago

under construction

File size: 3.5 KB
Line 
1/**
2 *
3 */
4package de.mpiwg.itgroup.annotations;
5
6/**
7 * @author casties
8 *
9 */
10public class Annotation {
11    /**
12     * The URI of this annotation.
13     */
14    protected String uri;
15
16    /**
17     * The annotation (body) text.
18     */
19    protected String bodyText;
20
21    /**
22     * The URI of the annotation text
23     */
24    protected String bodyUri;
25   
26    /**
27     * The base URI of the annotation target.
28     */
29    protected String targetBaseUri;
30   
31    /**
32     * The fragment part of the annotation target.
33     */
34    protected String targetFragment;
35   
36    /**
37     * The types of annotation targets.
38     *
39     */
40    public static enum FragmentTypes {
41        XPOINTER, AREA
42    };
43   
44    /**
45     * The type of the annotation target fragment.
46     */
47    protected FragmentTypes fragmentType;
48   
49    /**
50     * The URI of the creator of this annotation.
51     */
52    protected String creatorUri;
53   
54    /**
55     * The full name of the creator of this annotation.
56     */
57    protected String creatorName;
58   
59    /**
60     * The creation date of this annotation.
61     */
62    protected String created;
63
64    protected String adminPermission;
65   
66    /**
67     * @return the uri
68     */
69    public String getUri() {
70        return uri;
71    }
72
73    /**
74     * @param uri the uri to set
75     */
76    public void setUri(String uri) {
77        this.uri = uri;
78    }
79
80    /**
81     * @return the bodyText
82     */
83    public String getBodyText() {
84        return bodyText;
85    }
86
87    /**
88     * @param bodyText the bodyText to set
89     */
90    public void setBodyText(String bodyText) {
91        this.bodyText = bodyText;
92    }
93
94    /**
95     * @return the bodyUri
96     */
97    public String getBodyUri() {
98        return bodyUri;
99    }
100
101    /**
102     * @param bodyUri the bodyUri to set
103     */
104    public void setBodyUri(String bodyUri) {
105        this.bodyUri = bodyUri;
106    }
107
108    /**
109     * @return the targetBaseUri
110     */
111    public String getTargetBaseUri() {
112        return targetBaseUri;
113    }
114
115    /**
116     * @param targetBaseUri the targetBaseUri to set
117     */
118    public void setTargetBaseUri(String targetBaseUri) {
119        this.targetBaseUri = targetBaseUri;
120    }
121
122    /**
123     * @return the targetFragment
124     */
125    public String getTargetFragment() {
126        return targetFragment;
127    }
128
129    /**
130     * @param targetFragment the targetFragment to set
131     */
132    public void setTargetFragment(String targetFragment) {
133        this.targetFragment = targetFragment;
134    }
135
136    /**
137     * @return the targetType
138     */
139    public FragmentTypes getFragmentType() {
140        return fragmentType;
141    }
142
143    /**
144     * @param fragmentType the fragmentType to set
145     */
146    public void setFragmentType(FragmentTypes fragmentType) {
147        this.fragmentType = fragmentType;
148    }
149
150    /**
151     * @return the creatorUri
152     */
153    public String getCreatorUri() {
154        return creatorUri;
155    }
156
157    /**
158     * @param creatorUri the creatorUri to set
159     */
160    public void setCreatorUri(String creatorUri) {
161        this.creatorUri = creatorUri;
162    }
163
164    /**
165     * @return the creatorName
166     */
167    public String getCreatorName() {
168        return creatorName;
169    }
170
171    /**
172     * @param creatorName the creatorName to set
173     */
174    public void setCreatorName(String creatorName) {
175        this.creatorName = creatorName;
176    }
177
178    /**
179     * @return the created
180     */
181    public String getCreated() {
182        return created;
183    }
184
185    /**
186     * @param created the created to set
187     */
188    public void setCreated(String created) {
189        this.created = created;
190    }
191   
192   
193}
Note: See TracBrowser for help on using the repository browser.