JAL-1432 updated copyright notices
[jalview.git] / src / uk / ac / ebi / picr / model / UPEntry_Helper.java
1 /*
2  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.0b1)
3  * Copyright (C) 2014 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 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  * The Jalview Authors are detailed in the 'AUTHORS' file.
18  */
19 package uk.ac.ebi.picr.model;
20
21 public class UPEntry_Helper
22 {
23   // Type metadata
24   private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
25           UPEntry.class, true);
26
27   static
28   {
29     typeDesc.setXmlType(new javax.xml.namespace.QName(
30             "http://model.picr.ebi.ac.uk", "UPEntry"));
31     org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
32     elemField.setFieldName("CRC64");
33     elemField.setXmlName(new javax.xml.namespace.QName(
34             "http://model.picr.ebi.ac.uk", "CRC64"));
35     elemField.setXmlType(new javax.xml.namespace.QName(
36             "http://www.w3.org/2001/XMLSchema", "string"));
37     typeDesc.addFieldDesc(elemField);
38     elemField = new org.apache.axis.description.ElementDesc();
39     elemField.setFieldName("UPI");
40     elemField.setXmlName(new javax.xml.namespace.QName(
41             "http://model.picr.ebi.ac.uk", "UPI"));
42     elemField.setXmlType(new javax.xml.namespace.QName(
43             "http://www.w3.org/2001/XMLSchema", "string"));
44     typeDesc.addFieldDesc(elemField);
45     elemField = new org.apache.axis.description.ElementDesc();
46     elemField.setFieldName("identicalCrossReferences");
47     elemField.setXmlName(new javax.xml.namespace.QName(
48             "http://model.picr.ebi.ac.uk", "identicalCrossReferences"));
49     elemField.setXmlType(new javax.xml.namespace.QName(
50             "http://model.picr.ebi.ac.uk", "CrossReference"));
51     elemField.setMinOccurs(0);
52     typeDesc.addFieldDesc(elemField);
53     elemField = new org.apache.axis.description.ElementDesc();
54     elemField.setFieldName("logicalCrossReferences");
55     elemField.setXmlName(new javax.xml.namespace.QName(
56             "http://model.picr.ebi.ac.uk", "logicalCrossReferences"));
57     elemField.setXmlType(new javax.xml.namespace.QName(
58             "http://model.picr.ebi.ac.uk", "CrossReference"));
59     elemField.setMinOccurs(0);
60     typeDesc.addFieldDesc(elemField);
61     elemField = new org.apache.axis.description.ElementDesc();
62     elemField.setFieldName("sequence");
63     elemField.setXmlName(new javax.xml.namespace.QName(
64             "http://model.picr.ebi.ac.uk", "sequence"));
65     elemField.setXmlType(new javax.xml.namespace.QName(
66             "http://www.w3.org/2001/XMLSchema", "string"));
67     typeDesc.addFieldDesc(elemField);
68     elemField = new org.apache.axis.description.ElementDesc();
69     elemField.setFieldName("timestamp");
70     elemField.setXmlName(new javax.xml.namespace.QName(
71             "http://model.picr.ebi.ac.uk", "timestamp"));
72     elemField.setXmlType(new javax.xml.namespace.QName(
73             "http://www.w3.org/2001/XMLSchema", "dateTime"));
74     typeDesc.addFieldDesc(elemField);
75   }
76
77   /**
78    * Return type metadata object
79    */
80   public static org.apache.axis.description.TypeDesc getTypeDesc()
81   {
82     return typeDesc;
83   }
84
85   /**
86    * Get Custom Serializer
87    */
88   public static org.apache.axis.encoding.Serializer getSerializer(
89           java.lang.String mechType, java.lang.Class _javaType,
90           javax.xml.namespace.QName _xmlType)
91   {
92     return new org.apache.axis.encoding.ser.BeanSerializer(_javaType,
93             _xmlType, typeDesc);
94   }
95
96   /**
97    * Get Custom Deserializer
98    */
99   public static org.apache.axis.encoding.Deserializer getDeserializer(
100           java.lang.String mechType, java.lang.Class _javaType,
101           javax.xml.namespace.QName _xmlType)
102   {
103     return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType,
104             _xmlType, typeDesc);
105   }
106
107 }