<?xml version="1.0"?>\r
<!--\r
+ * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)\r
+ * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle\r
+ * \r
+ * This file is part of Jalview.\r
+ * \r
+ * Jalview is free software: you can redistribute it and/or\r
+ * modify it under the terms of the GNU General Public License \r
+ * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.\r
+ * \r
+ * Jalview is distributed in the hope that it will be useful, but \r
+ * WITHOUT ANY WARRANTY; without even the implied warranty \r
+ * of MERCHANTABILITY or FITNESS FOR A PARTICULAR \r
+ * PURPOSE. See the GNU General Public License for more details.\r
+ * \r
+ * You should have received a copy of the GNU General Public License along with Jalview. If not, see <http://www.gnu.org/licenses/>.\r
+-->\r
+<mapping xmlns="http://castor.exolab.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
+ xsi:schemaLocation="http://castor.exolab.org/ ../schemas/castor-mapping.xsd">\r
+<!--\r
History: Originally created from EMBL_common_V1.0\r
Updated on 24th April 2007 for WsDBFetch Service move to EMBL_Services_V1.1.xsd\r
- -->
- \r
-<mapping xmlns="http://castor.exolab.org/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"\r
- xsi:schemaLocation="http://castor.exolab.org/ castor-mapping.xsd">\r
- <!-- -->\r
+ -->\r
<class name="jalview.datamodel.xdb.embl.EmblFile">\r
<map-to xml="EMBL_Services"/>\r
<field name="entries" type="jalview.datamodel.xdb.embl.EmblEntry" collection="vector">\r
</class>\r
<class name="jalview.datamodel.xdb.embl.EmblEntry">\r
<map-to xml="entry"/>\r
- <field name="accession" type="string">
- <bind-xml location="accession" node="attribute"/>
+ <field name="accession" type="string">\r
+ <bind-xml location="accession" node="attribute"/>\r
</field>\r
<field name="lastUpdated" type="string">\r
<bind-xml location="last-updated" node="attribute"/>\r
<field name="rLastUpdated" type="string">\r
<bind-xml location="releaseLastUpdated" node="attribute"/>\r
</field>\r
- <field name="desc" type="string">
- <bind-xml name="description" node="element"/>
+ <field name="desc" type="string">\r
+ <bind-xml name="description" node="element"/>\r
</field>\r
<field name="Keywords" type="string" collection="vector">\r
<bind-xml name="keyword" node="element"/>\r
</field>\r
- <field name="sequence" type="jalview.datamodel.xdb.embl.EmblSequence">\r
- <bind-xml location="sequence" node="element"/>\r
- </field>\r
<field name="features" type="jalview.datamodel.xdb.embl.EmblFeature" collection="vector">\r
- <bind-xml name="feature"/>
+ <bind-xml name="feature"/>\r
</field>\r
<field name="dbRefs" type="jalview.datamodel.DBRefEntry" collection="vector">\r
<bind-xml name="dbreference" />\r
</field>\r
+ <field name="sequence" type="jalview.datamodel.xdb.embl.EmblSequence">\r
+ <bind-xml name="sequence"/> <!-- location="sequence" node="element"/ -->\r
+ </field>\r
</class>\r
- <class name="jalview.datamodel.xdb.embl.EmblSequence">
+ <class name="jalview.datamodel.xdb.embl.EmblSequence">\r
<map-to xml="sequence"/>\r
<field name="type" type="string">\r
<bind-xml name="type" node="attribute" location="type"/>\r
</field>\r
<field name="sequence" type="string">\r
<bind-xml node="text"/>\r
- </field>
+ </field>\r
</class>\r
<class name="jalview.datamodel.xdb.embl.EmblFeature" verify-constructable="false">\r
<map-to xml="feature"/>\r
- <field name="name" type="string">
- <bind-xml name="name" node="attribute"/>
+ <field name="name" type="string">\r
+ <bind-xml name="name" node="attribute"/>\r
</field>\r
- <field name="dbRefs" type="jalview.datamodel.DBRefEntry" collection="vector">
- <bind-xml name="dbreference" node="element"/>
+ <field name="dbRefs" type="jalview.datamodel.DBRefEntry" collection="vector">\r
+ <bind-xml name="dbreference" node="element"/>\r
</field>\r
<field name="qualifiers" type="jalview.datamodel.xdb.embl.Qualifier" collection="vector">\r
<bind-xml name="qualifier"/>\r
<bind-xml name="secondary" node="attribute"/>\r
</field>\r
</class>\r
- <class name="jalview.datamodel.xdb.embl.Qualifier" verify-constructable="false">
+ <class name="jalview.datamodel.xdb.embl.Qualifier" verify-constructable="false">\r
<map-to xml="Qualifier"/>\r
<field name="name">\r
<bind-xml name="name" node="attribute"/>\r
<bind-xml name="basePosition" node="element"/>\r
</field>\r
</class>\r
- <class name="jalview.datamodel.xdb.embl.BasePosition">
+ <class name="jalview.datamodel.xdb.embl.BasePosition">\r
<map-to xml="basePosition"/>\r
- <field name="type">
- <bind-xml name="type" node="attribute"/>
+ <field name="type">\r
+ <bind-xml name="type" node="attribute"/>\r
</field>\r
- <field name="pos">
+ <field name="pos">\r
<bind-xml node="text"/>\r
</field>\r
</class>\r