7588b872e0bbbc220aac0a50bf3e6b7abf1a212e
[jalview.git] / src / uk / ac / ebi / picr / model / UPEntry_Helper.java
1 /*
2  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8)
3  * Copyright (C) 2012 J Procter, AM Waterhouse, LM Lui, J Engelhardt, G Barton, M Clamp, S Searle
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 of the License, or (at your option) any later version.
10  *  
11  * Jalview is distributed in the hope that it will be useful, but 
12  * WITHOUT ANY WARRANTY; without even the implied warranty 
13  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
14  * PURPOSE.  See the GNU General Public License for more details.
15  * 
16  * You should have received a copy of the GNU General Public License along with Jalview.  If not, see <http://www.gnu.org/licenses/>.
17  */
18 package uk.ac.ebi.picr.model;
19
20 public class UPEntry_Helper
21 {
22   // Type metadata
23   private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
24           UPEntry.class, true);
25
26   static
27   {
28     typeDesc.setXmlType(new javax.xml.namespace.QName(
29             "http://model.picr.ebi.ac.uk", "UPEntry"));
30     org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
31     elemField.setFieldName("CRC64");
32     elemField.setXmlName(new javax.xml.namespace.QName(
33             "http://model.picr.ebi.ac.uk", "CRC64"));
34     elemField.setXmlType(new javax.xml.namespace.QName(
35             "http://www.w3.org/2001/XMLSchema", "string"));
36     typeDesc.addFieldDesc(elemField);
37     elemField = new org.apache.axis.description.ElementDesc();
38     elemField.setFieldName("UPI");
39     elemField.setXmlName(new javax.xml.namespace.QName(
40             "http://model.picr.ebi.ac.uk", "UPI"));
41     elemField.setXmlType(new javax.xml.namespace.QName(
42             "http://www.w3.org/2001/XMLSchema", "string"));
43     typeDesc.addFieldDesc(elemField);
44     elemField = new org.apache.axis.description.ElementDesc();
45     elemField.setFieldName("identicalCrossReferences");
46     elemField.setXmlName(new javax.xml.namespace.QName(
47             "http://model.picr.ebi.ac.uk", "identicalCrossReferences"));
48     elemField.setXmlType(new javax.xml.namespace.QName(
49             "http://model.picr.ebi.ac.uk", "CrossReference"));
50     elemField.setMinOccurs(0);
51     typeDesc.addFieldDesc(elemField);
52     elemField = new org.apache.axis.description.ElementDesc();
53     elemField.setFieldName("logicalCrossReferences");
54     elemField.setXmlName(new javax.xml.namespace.QName(
55             "http://model.picr.ebi.ac.uk", "logicalCrossReferences"));
56     elemField.setXmlType(new javax.xml.namespace.QName(
57             "http://model.picr.ebi.ac.uk", "CrossReference"));
58     elemField.setMinOccurs(0);
59     typeDesc.addFieldDesc(elemField);
60     elemField = new org.apache.axis.description.ElementDesc();
61     elemField.setFieldName("sequence");
62     elemField.setXmlName(new javax.xml.namespace.QName(
63             "http://model.picr.ebi.ac.uk", "sequence"));
64     elemField.setXmlType(new javax.xml.namespace.QName(
65             "http://www.w3.org/2001/XMLSchema", "string"));
66     typeDesc.addFieldDesc(elemField);
67     elemField = new org.apache.axis.description.ElementDesc();
68     elemField.setFieldName("timestamp");
69     elemField.setXmlName(new javax.xml.namespace.QName(
70             "http://model.picr.ebi.ac.uk", "timestamp"));
71     elemField.setXmlType(new javax.xml.namespace.QName(
72             "http://www.w3.org/2001/XMLSchema", "dateTime"));
73     typeDesc.addFieldDesc(elemField);
74   }
75
76   /**
77    * Return type metadata object
78    */
79   public static org.apache.axis.description.TypeDesc getTypeDesc()
80   {
81     return typeDesc;
82   }
83
84   /**
85    * Get Custom Serializer
86    */
87   public static org.apache.axis.encoding.Serializer getSerializer(
88           java.lang.String mechType, java.lang.Class _javaType,
89           javax.xml.namespace.QName _xmlType)
90   {
91     return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,
92             _xmlType, typeDesc);
93   }
94
95   /**
96    * Get Custom Deserializer
97    */
98   public static org.apache.axis.encoding.Deserializer getDeserializer(
99           java.lang.String mechType, java.lang.Class _javaType,
100           javax.xml.namespace.QName _xmlType)
101   {
102     return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,
103             _xmlType, typeDesc);
104   }
105
106 }