additional instructions and use of -jar for launching
[jalview.git] / resources / embl_mapping.xml
1 <?xml version="1.0"?>\r
2 <!--\r
3   Jalview - A Sequence Alignment Editor and Viewer (Version 2.4.0.b2)\r
4   Copyright (C) 2009 AM Waterhouse, J Procter, G Barton, M Clamp, S Searle\r
5   \r
6   This program is free software; you can redistribute it and/or\r
7   modify it under the terms of the GNU General Public License\r
8   as published by the Free Software Foundation; either version 2\r
9   of the License, or (at your option) any later version.\r
10   \r
11   This program is distributed in the hope that it will be useful,\r
12   but WITHOUT ANY WARRANTY; without even the implied warranty of\r
13   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the\r
14   GNU General Public License for more details.\r
15   \r
16   You should have received a copy of the GNU General Public License\r
17   along with this program; if not, write to the Free Software\r
18   Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA\r
19 -->\r
20 <!--\r
21         History: Originally created from EMBL_common_V1.0\r
22         Updated on 24th April 2007 for WsDBFetch Service move to EMBL_Services_V1.1.xsd\r
23         -->\r
24         \r
25 <mapping xmlns="http://castor.exolab.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
26         xsi:schemaLocation="http://castor.exolab.org/ ../schemas/castor-mapping.xsd">\r
27         <!-- -->\r
28         <class name="jalview.datamodel.xdb.embl.EmblFile">\r
29                 <map-to xml="EMBL_Services"/>\r
30                 <field name="entries" type="jalview.datamodel.xdb.embl.EmblEntry" collection="vector">\r
31                         <bind-xml name="entry"/>\r
32                 </field>\r
33                 \r
34                 <field name="errors" type="jalview.datamodel.xdb.embl.EmblError" collection="vector">\r
35                         <bind-xml name="Error"/>\r
36                 </field>\r
37         </class>\r
38         <class name="jalview.datamodel.xdb.embl.EmblEntry">\r
39                 <map-to xml="entry"/>\r
40                 <field name="accession" type="string">\r
41                         <bind-xml location="accession" node="attribute"/>\r
42                 </field>\r
43                 <field name="lastUpdated" type="string">\r
44                         <bind-xml location="last-updated" node="attribute"/>\r
45                 </field>\r
46                 <field name="version" type="string">\r
47                         <bind-xml location="version" node="attribute"/>\r
48                 </field>\r
49                 \r
50                 <field name="rCreated" type="string">\r
51                         <bind-xml location="releaseCreated" node="attribute"/>\r
52                 </field>\r
53                 <field name="rLastUpdated" type="string">\r
54                         <bind-xml location="releaseLastUpdated" node="attribute"/>\r
55                 </field>\r
56                 <field name="desc" type="string">\r
57                         <bind-xml name="description" node="element"/>\r
58                 </field>\r
59                 <field name="Keywords" type="string" collection="vector">\r
60                         <bind-xml name="keyword" node="element"/>\r
61                 </field>\r
62                 <field name="features" type="jalview.datamodel.xdb.embl.EmblFeature" collection="vector">\r
63                         <bind-xml name="feature"/>\r
64                 </field>\r
65                 <field name="dbRefs" type="jalview.datamodel.DBRefEntry" collection="vector">\r
66                         <bind-xml name="dbreference" />\r
67                 </field>\r
68                 <field name="sequence" type="jalview.datamodel.xdb.embl.EmblSequence">\r
69                         <bind-xml name="sequence"/> <!-- location="sequence" node="element"/ -->\r
70                 </field>\r
71         </class>\r
72         <class name="jalview.datamodel.xdb.embl.EmblSequence">\r
73                 <map-to xml="sequence"/>\r
74                 <field name="type" type="string">\r
75                         <bind-xml name="type" node="attribute" location="type"/>\r
76                 </field>\r
77                 <field name="version" type="string">\r
78                         <bind-xml name="version" node="attribute" location="version"/>\r
79                 </field>\r
80                 <field name="sequence" type="string">\r
81                         <bind-xml node="text"/>\r
82                 </field>\r
83         </class>\r
84         <class name="jalview.datamodel.xdb.embl.EmblFeature" verify-constructable="false">\r
85                 <map-to xml="feature"/>\r
86                 <field name="name" type="string">\r
87                         <bind-xml name="name" node="attribute"/>\r
88                 </field>\r
89                 <field name="dbRefs" type="jalview.datamodel.DBRefEntry" collection="vector">\r
90                         <bind-xml name="dbreference" node="element"/>\r
91                 </field>\r
92                 <field name="qualifiers" type="jalview.datamodel.xdb.embl.Qualifier" collection="vector">\r
93                         <bind-xml name="qualifier"/>\r
94                 </field>                                        \r
95                 <field name="locations" type="jalview.datamodel.xdb.embl.EmblFeatureLocations" collection="vector">\r
96                         <bind-xml name="location"/>\r
97                 </field>\r
98         </class>\r
99         <class name="jalview.datamodel.DBRefEntry" verify-constructable="false">\r
100                 <field name="accessionId" type="java.lang.String"><!-- set-method="setAccessionId" get-method="getAccessionId"> -->\r
101                         <bind-xml name="primary" node="attribute"/>\r
102                 </field>\r
103                 <field name="source" type="java.lang.String"> <!--set-method="setSource" get-method="getSource"> -->\r
104                         <bind-xml name="db" node="attribute"/>\r
105                 </field>\r
106                 <field name="version" type="string"><!-- set-method="setVersion" get-method="getVersion"> -->\r
107                         <bind-xml name="secondary" node="attribute"/>\r
108                 </field>\r
109         </class>\r
110         <class  name="jalview.datamodel.xdb.embl.Qualifier" verify-constructable="false">\r
111                 <map-to xml="Qualifier"/>\r
112                 <field name="name">\r
113                         <bind-xml name="name" node="attribute"/>\r
114                 </field>\r
115                 <field name="evidence" type="string" collection="array">\r
116                         <bind-xml name="evidence" node="element"/>\r
117                 </field>\r
118                 <field name="values" type="string" collection="array">\r
119                         <bind-xml name="value" node="element"/>\r
120                 </field>\r
121         </class>\r
122         <class name="jalview.datamodel.xdb.embl.EmblFeatureLocations">\r
123                 <map-to xml="location"/>\r
124                 <field name="locationType" type="string">\r
125                         <bind-xml name="type" node="attribute"/>\r
126                 </field>\r
127                 <field name="locationComplement" type="boolean">\r
128                         <bind-xml name="complement" node="attribute"/>\r
129                 </field>\r
130                 <field name="locElements" type="jalview.datamodel.xdb.embl.EmblFeatureLocElement" collection="vector">\r
131                         <bind-xml name="locationElement"/>\r
132                 </field>\r
133         </class>\r
134         <class name="jalview.datamodel.xdb.embl.EmblFeatureLocElement">\r
135                 <map-to xml="locationElement"/>\r
136                 <field name="type" type="string">\r
137                         <bind-xml name="type" node="attribute"/>\r
138                 </field>\r
139                 <field name="accession" type="string">\r
140                         <bind-xml name="accession" node="attribute"/>                   \r
141                 </field>\r
142                 <field name="version" type="string">\r
143                         <bind-xml name="version" node="attribute"/>\r
144                 </field>\r
145                 <field name="complement" type="boolean">\r
146                         <bind-xml name="complement"/>\r
147                 </field>\r
148                 <field name="basePositions" type="jalview.datamodel.xdb.embl.BasePosition" collection="array">\r
149                         <bind-xml name="basePosition" node="element"/>\r
150                 </field>\r
151         </class>\r
152         <class name="jalview.datamodel.xdb.embl.BasePosition">\r
153                 <map-to xml="basePosition"/>\r
154                 <field name="type">\r
155                         <bind-xml name="type" node="attribute"/>\r
156                 </field>\r
157                 <field name="pos">\r
158                         <bind-xml node="text"/>\r
159                 </field>\r
160         </class>\r
161 </mapping>\r