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