Clover icon

Coverage Report

  1. Project Clover database Thu Nov 28 2024 11:45:30 GMT
  2. Package uk.ac.ebi.picr.model

File CrossReference_Helper.java

 

Coverage histogram

../../../../../img/srcFileCovDistChart0.png
63% of files have more coverage

Code metrics

0
49
4
1
128
92
4
0.08
12.25
4
1

Classes

Class Line # Actions
CrossReference_Helper 23 49 4
0.00%
 

Contributing tests

No tests hitting this source file were found.

Source view

1    /*
2    * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3    * Copyright (C) $$Year-Rel$$ The Jalview Authors
4    *
5    * This file is part of Jalview.
6    *
7    * Jalview is free software: you can redistribute it and/or
8    * modify it under the terms of the GNU General Public License
9    * as published by the Free Software Foundation, either version 3
10    * of the License, or (at your option) any later version.
11    *
12    * Jalview is distributed in the hope that it will be useful, but
13    * WITHOUT ANY WARRANTY; without even the implied warranty
14    * of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15    * PURPOSE. See the GNU General Public License for more details.
16    *
17    * You should have received a copy of the GNU General Public License
18    * along with Jalview. If not, see <http://www.gnu.org/licenses/>.
19    * The Jalview Authors are detailed in the 'AUTHORS' file.
20    */
21    package uk.ac.ebi.picr.model;
22   
 
23    public class CrossReference_Helper
24    {
25    // Type metadata
26    private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
27    CrossReference.class, true);
28   
 
29  0 toggle static
30    {
31  0 typeDesc.setXmlType(new javax.xml.namespace.QName(
32    "http://model.picr.ebi.ac.uk", "CrossReference"));
33  0 org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
34  0 elemField.setFieldName("accession");
35  0 elemField.setXmlName(new javax.xml.namespace.QName(
36    "http://model.picr.ebi.ac.uk", "accession"));
37  0 elemField.setXmlType(new javax.xml.namespace.QName(
38    "http://www.w3.org/2001/XMLSchema", "string"));
39  0 typeDesc.addFieldDesc(elemField);
40  0 elemField = new org.apache.axis.description.ElementDesc();
41  0 elemField.setFieldName("accessionVersion");
42  0 elemField.setXmlName(new javax.xml.namespace.QName(
43    "http://model.picr.ebi.ac.uk", "accessionVersion"));
44  0 elemField.setXmlType(new javax.xml.namespace.QName(
45    "http://www.w3.org/2001/XMLSchema", "string"));
46  0 typeDesc.addFieldDesc(elemField);
47  0 elemField = new org.apache.axis.description.ElementDesc();
48  0 elemField.setFieldName("databaseDescription");
49  0 elemField.setXmlName(new javax.xml.namespace.QName(
50    "http://model.picr.ebi.ac.uk", "databaseDescription"));
51  0 elemField.setXmlType(new javax.xml.namespace.QName(
52    "http://www.w3.org/2001/XMLSchema", "string"));
53  0 typeDesc.addFieldDesc(elemField);
54  0 elemField = new org.apache.axis.description.ElementDesc();
55  0 elemField.setFieldName("databaseName");
56  0 elemField.setXmlName(new javax.xml.namespace.QName(
57    "http://model.picr.ebi.ac.uk", "databaseName"));
58  0 elemField.setXmlType(new javax.xml.namespace.QName(
59    "http://www.w3.org/2001/XMLSchema", "string"));
60  0 typeDesc.addFieldDesc(elemField);
61  0 elemField = new org.apache.axis.description.ElementDesc();
62  0 elemField.setFieldName("dateAdded");
63  0 elemField.setXmlName(new javax.xml.namespace.QName(
64    "http://model.picr.ebi.ac.uk", "dateAdded"));
65  0 elemField.setXmlType(new javax.xml.namespace.QName(
66    "http://www.w3.org/2001/XMLSchema", "dateTime"));
67  0 typeDesc.addFieldDesc(elemField);
68  0 elemField = new org.apache.axis.description.ElementDesc();
69  0 elemField.setFieldName("dateDeleted");
70  0 elemField.setXmlName(new javax.xml.namespace.QName(
71    "http://model.picr.ebi.ac.uk", "dateDeleted"));
72  0 elemField.setXmlType(new javax.xml.namespace.QName(
73    "http://www.w3.org/2001/XMLSchema", "dateTime"));
74  0 typeDesc.addFieldDesc(elemField);
75  0 elemField = new org.apache.axis.description.ElementDesc();
76  0 elemField.setFieldName("deleted");
77  0 elemField.setXmlName(new javax.xml.namespace.QName(
78    "http://model.picr.ebi.ac.uk", "deleted"));
79  0 elemField.setXmlType(new javax.xml.namespace.QName(
80    "http://www.w3.org/2001/XMLSchema", "boolean"));
81  0 typeDesc.addFieldDesc(elemField);
82  0 elemField = new org.apache.axis.description.ElementDesc();
83  0 elemField.setFieldName("gi");
84  0 elemField.setXmlName(new javax.xml.namespace.QName(
85    "http://model.picr.ebi.ac.uk", "gi"));
86  0 elemField.setXmlType(new javax.xml.namespace.QName(
87    "http://www.w3.org/2001/XMLSchema", "string"));
88  0 typeDesc.addFieldDesc(elemField);
89  0 elemField = new org.apache.axis.description.ElementDesc();
90  0 elemField.setFieldName("taxonId");
91  0 elemField.setXmlName(new javax.xml.namespace.QName(
92    "http://model.picr.ebi.ac.uk", "taxonId"));
93  0 elemField.setXmlType(new javax.xml.namespace.QName(
94    "http://www.w3.org/2001/XMLSchema", "string"));
95  0 typeDesc.addFieldDesc(elemField);
96    }
97   
98    /**
99    * Return type metadata object
100    */
 
101  0 toggle public static org.apache.axis.description.TypeDesc getTypeDesc()
102    {
103  0 return typeDesc;
104    }
105   
106    /**
107    * Get Custom Serializer
108    */
 
109  0 toggle public static org.apache.axis.encoding.Serializer getSerializer(
110    java.lang.String mechType, java.lang.Class _javaType,
111    javax.xml.namespace.QName _xmlType)
112    {
113  0 return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,
114    _xmlType, typeDesc);
115    }
116   
117    /**
118    * Get Custom Deserializer
119    */
 
120  0 toggle public static org.apache.axis.encoding.Deserializer getDeserializer(
121    java.lang.String mechType, java.lang.Class _javaType,
122    javax.xml.namespace.QName _xmlType)
123    {
124  0 return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,
125    _xmlType, typeDesc);
126    }
127   
128    }