JAL-1712 fixes/tests for Castor binding and 'show flanking regions'
[jalview.git] / resources / embl_mapping.xml
index 7199354..ccbde5e 100644 (file)
                </field>
        </class>
        <class name="jalview.datamodel.xdb.embl.EmblEntry">
-               <map-to xml="entry"/>
                <field name="accession" type="string">
                        <bind-xml location="accession" node="attribute"/>
                </field>
+               <!--  May 2015 changed from last-updated to match xml -->
                <field name="lastUpdated" type="string">
-                       <bind-xml location="last-updated" node="attribute"/>
+                       <bind-xml location="lastUpdated" node="attribute"/>
                </field>
                <field name="version" type="string">
                        <bind-xml location="version" node="attribute"/>
                </field>
-               
                <field name="rCreated" type="string">
                        <bind-xml location="releaseCreated" node="attribute"/>
                </field>
@@ -54,7 +53,7 @@
                <field name="desc" type="string">
                        <bind-xml name="description" node="element"/>
                </field>
-               <field name="Keywords" type="string" collection="vector">
+               <field name="keywords" type="string" collection="vector">
                        <bind-xml name="keyword" node="element"/>
                </field>
                <field name="features" type="jalview.datamodel.xdb.embl.EmblFeature" collection="vector">
                        <bind-xml name="dbreference" />
                </field>
                <field name="sequence" type="jalview.datamodel.xdb.embl.EmblSequence">
-                       <bind-xml name="sequence"/> <!-- location="sequence" node="element"/ -->
+                       <bind-xml name="sequence"/>
                </field>
        </class>
        <class name="jalview.datamodel.xdb.embl.EmblSequence">
-               <map-to xml="sequence"/>
                <field name="type" type="string">
                        <bind-xml name="type" node="attribute" location="type"/>
                </field>
@@ -80,7 +78,6 @@
                </field>
        </class>
        <class name="jalview.datamodel.xdb.embl.EmblFeature" verify-constructable="false">
-               <map-to xml="feature"/>
                <field name="name" type="string">
                        <bind-xml name="name" node="attribute"/>
                </field>
                </field>
        </class>
        <class name="jalview.datamodel.DBRefEntry" verify-constructable="false">
-               <field name="accessionId" type="java.lang.String"><!-- set-method="setAccessionId" get-method="getAccessionId"> -->
+               <field name="accessionId" type="java.lang.String">
                        <bind-xml name="primary" node="attribute"/>
                </field>
-               <field name="source" type="java.lang.String"> <!--set-method="setSource" get-method="getSource"> -->
+               <field name="source" type="java.lang.String"> 
                        <bind-xml name="db" node="attribute"/>
                </field>
-               <field name="version" type="string"><!-- set-method="setVersion" get-method="getVersion"> -->
+               <field name="version" type="string">
                        <bind-xml name="secondary" node="attribute"/>
                </field>
        </class>
        <class  name="jalview.datamodel.xdb.embl.Qualifier" verify-constructable="false">
-               <map-to xml="Qualifier"/>
                <field name="name">
                        <bind-xml name="name" node="attribute"/>
                </field>
                </field>
        </class>
        <class name="jalview.datamodel.xdb.embl.EmblFeatureLocations">
-               <map-to xml="location"/>
                <field name="locationType" type="string">
                        <bind-xml name="type" node="attribute"/>
                </field>
                </field>
        </class>
        <class name="jalview.datamodel.xdb.embl.EmblFeatureLocElement">
-               <map-to xml="locationElement"/>
                <field name="type" type="string">
                        <bind-xml name="type" node="attribute"/>
                </field>
                </field>
        </class>
        <class name="jalview.datamodel.xdb.embl.BasePosition">
-               <map-to xml="basePosition"/>
                <field name="type">
                        <bind-xml name="type" node="attribute"/>
                </field>