source: DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/AnnotationRooted.java @ 3186

Last change on this file since 3186 was 3186, checked in by olhsha, 11 years ago

"POST annotations/" chain is done fully, except that for now POST returns Annotation but not an envelope with the server's respond. This feature should be added after Sources and Permissions are added to the Database.
AND, since at the moment the ObjectFactory?() produces Annotations without root element there is a temporary fix for it: an additional class AnnotationRooted? which extends Annotation just by adding a root node. MUST BE REMOVED after the problem with the factory is fixed as it should.

File size: 1016 bytes
Line 
1/**
2 * Copyright (C) 2013 DASISH
3 *
4 * This program is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU General Public License
6 * as published by the Free Software Foundation; either version 2
7 * of the License, or (at your option) any later version.
8 *
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
13 *
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17 */
18/**
19 *
20 * @author olhsha
21 */
22
23
24package eu.dasish.annotation.backend;
25
26import eu.dasish.annotation.schema.Annotation;
27import javax.xml.bind.annotation.XmlRootElement;
28
29
30@XmlRootElement (name = "Annotation")
31public class AnnotationRooted extends Annotation{
32   
33}
Note: See TracBrowser for help on using the repository browser.