X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=src%2Fuk%2Fac%2Febi%2Fpicr%2Fmodel%2FUPEntry_Helper.java;h=2e26cfdc344643b6166ed30abd67aba8bf492d2e;hb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;hp=334864046db210becb112131827cda44518bb612;hpb=153dd62dc91da13ae732600e6ea55ddbe15eab39;p=jalview.git diff --git a/src/uk/ac/ebi/picr/model/UPEntry_Helper.java b/src/uk/ac/ebi/picr/model/UPEntry_Helper.java index 3348640..2e26cfd 100644 --- a/src/uk/ac/ebi/picr/model/UPEntry_Helper.java +++ b/src/uk/ac/ebi/picr/model/UPEntry_Helper.java @@ -1,106 +1,109 @@ -/* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.6) - * Copyright (C) 2010 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle - * - * This file is part of Jalview. - * - * Jalview is free software: you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - * - * Jalview is distributed in the hope that it will be useful, but - * WITHOUT ANY WARRANTY; without even the implied warranty - * of MERCHANTABILITY or FITNESS FOR A PARTICULAR - * PURPOSE. See the GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License along with Jalview. If not, see . - */ -package uk.ac.ebi.picr.model; - -public class UPEntry_Helper -{ - // Type metadata - private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( - UPEntry.class, true); - - static - { - typeDesc.setXmlType(new javax.xml.namespace.QName( - "http://model.picr.ebi.ac.uk", "UPEntry")); - org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("CRC64"); - elemField.setXmlName(new javax.xml.namespace.QName( - "http://model.picr.ebi.ac.uk", "CRC64")); - elemField.setXmlType(new javax.xml.namespace.QName( - "http://www.w3.org/2001/XMLSchema", "string")); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("UPI"); - elemField.setXmlName(new javax.xml.namespace.QName( - "http://model.picr.ebi.ac.uk", "UPI")); - elemField.setXmlType(new javax.xml.namespace.QName( - "http://www.w3.org/2001/XMLSchema", "string")); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("identicalCrossReferences"); - elemField.setXmlName(new javax.xml.namespace.QName( - "http://model.picr.ebi.ac.uk", "identicalCrossReferences")); - elemField.setXmlType(new javax.xml.namespace.QName( - "http://model.picr.ebi.ac.uk", "CrossReference")); - elemField.setMinOccurs(0); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("logicalCrossReferences"); - elemField.setXmlName(new javax.xml.namespace.QName( - "http://model.picr.ebi.ac.uk", "logicalCrossReferences")); - elemField.setXmlType(new javax.xml.namespace.QName( - "http://model.picr.ebi.ac.uk", "CrossReference")); - elemField.setMinOccurs(0); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("sequence"); - elemField.setXmlName(new javax.xml.namespace.QName( - "http://model.picr.ebi.ac.uk", "sequence")); - elemField.setXmlType(new javax.xml.namespace.QName( - "http://www.w3.org/2001/XMLSchema", "string")); - typeDesc.addFieldDesc(elemField); - elemField = new org.apache.axis.description.ElementDesc(); - elemField.setFieldName("timestamp"); - elemField.setXmlName(new javax.xml.namespace.QName( - "http://model.picr.ebi.ac.uk", "timestamp")); - elemField.setXmlType(new javax.xml.namespace.QName( - "http://www.w3.org/2001/XMLSchema", "dateTime")); - typeDesc.addFieldDesc(elemField); - } - - /** - * Return type metadata object - */ - public static org.apache.axis.description.TypeDesc getTypeDesc() - { - return typeDesc; - } - - /** - * Get Custom Serializer - */ - public static org.apache.axis.encoding.Serializer getSerializer( - java.lang.String mechType, java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) - { - return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, - _xmlType, typeDesc); - } - - /** - * Get Custom Deserializer - */ - public static org.apache.axis.encoding.Deserializer getDeserializer( - java.lang.String mechType, java.lang.Class _javaType, - javax.xml.namespace.QName _xmlType) - { - return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, - _xmlType, typeDesc); - } - -} +/* + * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2) + * Copyright (C) 2015 The Jalview Authors + * + * This file is part of Jalview. + * + * Jalview is free software: you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation, either version 3 + * of the License, or (at your option) any later version. + * + * Jalview is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty + * of MERCHANTABILITY or FITNESS FOR A PARTICULAR + * PURPOSE. See the GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with Jalview. If not, see . + * The Jalview Authors are detailed in the 'AUTHORS' file. + */ +package uk.ac.ebi.picr.model; + +public class UPEntry_Helper +{ + // Type metadata + private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc( + UPEntry.class, true); + + static + { + typeDesc.setXmlType(new javax.xml.namespace.QName( + "http://model.picr.ebi.ac.uk", "UPEntry")); + org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("CRC64"); + elemField.setXmlName(new javax.xml.namespace.QName( + "http://model.picr.ebi.ac.uk", "CRC64")); + elemField.setXmlType(new javax.xml.namespace.QName( + "http://www.w3.org/2001/XMLSchema", "string")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("UPI"); + elemField.setXmlName(new javax.xml.namespace.QName( + "http://model.picr.ebi.ac.uk", "UPI")); + elemField.setXmlType(new javax.xml.namespace.QName( + "http://www.w3.org/2001/XMLSchema", "string")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("identicalCrossReferences"); + elemField.setXmlName(new javax.xml.namespace.QName( + "http://model.picr.ebi.ac.uk", "identicalCrossReferences")); + elemField.setXmlType(new javax.xml.namespace.QName( + "http://model.picr.ebi.ac.uk", "CrossReference")); + elemField.setMinOccurs(0); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("logicalCrossReferences"); + elemField.setXmlName(new javax.xml.namespace.QName( + "http://model.picr.ebi.ac.uk", "logicalCrossReferences")); + elemField.setXmlType(new javax.xml.namespace.QName( + "http://model.picr.ebi.ac.uk", "CrossReference")); + elemField.setMinOccurs(0); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("sequence"); + elemField.setXmlName(new javax.xml.namespace.QName( + "http://model.picr.ebi.ac.uk", "sequence")); + elemField.setXmlType(new javax.xml.namespace.QName( + "http://www.w3.org/2001/XMLSchema", "string")); + typeDesc.addFieldDesc(elemField); + elemField = new org.apache.axis.description.ElementDesc(); + elemField.setFieldName("timestamp"); + elemField.setXmlName(new javax.xml.namespace.QName( + "http://model.picr.ebi.ac.uk", "timestamp")); + elemField.setXmlType(new javax.xml.namespace.QName( + "http://www.w3.org/2001/XMLSchema", "dateTime")); + typeDesc.addFieldDesc(elemField); + } + + /** + * Return type metadata object + */ + public static org.apache.axis.description.TypeDesc getTypeDesc() + { + return typeDesc; + } + + /** + * Get Custom Serializer + */ + public static org.apache.axis.encoding.Serializer getSerializer( + java.lang.String mechType, java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) + { + return new org.apache.axis.encoding.ser.BeanSerializer(_javaType, + _xmlType, typeDesc); + } + + /** + * Get Custom Deserializer + */ + public static org.apache.axis.encoding.Deserializer getDeserializer( + java.lang.String mechType, java.lang.Class _javaType, + javax.xml.namespace.QName _xmlType) + { + return new org.apache.axis.encoding.ser.BeanDeserializer(_javaType, + _xmlType, typeDesc); + } + +}