/*\r
- * This class was automatically generated with \r
- * <a href="http://www.castor.org">Castor 1.1</a>, using an XML\r
- * Schema.\r
- * $Id$\r
+ * This file is part of the Vamsas Client version 0.1. \r
+ * Copyright 2009 by Jim Procter, Iain Milne, Pierre Marguerite, \r
+ * Andrew Waterhouse and Dominik Lindner.\r
+ * \r
+ * Earlier versions have also been incorporated into Jalview version 2.4 \r
+ * since 2008, and TOPALi version 2 since 2007.\r
+ * \r
+ * The Vamsas Client is free software: you can redistribute it and/or modify\r
+ * it under the terms of the GNU Lesser General Public License as published by\r
+ * the Free Software Foundation, either version 3 of the License, or\r
+ * (at your option) any later version.\r
+ * \r
+ * The Vamsas Client is distributed in the hope that it will be useful,\r
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
+ * GNU Lesser General Public License for more details.\r
+ * \r
+ * You should have received a copy of the GNU Lesser General Public License\r
+ * along with the Vamsas Client. If not, see <http://www.gnu.org/licenses/>.\r
*/\r
-\r
package uk.ac.vamsas.objects.core.descriptors;\r
\r
- //---------------------------------/\r
- //- Imported classes and packages -/\r
+//---------------------------------/\r
+//- Imported classes and packages -/\r
//---------------------------------/\r
\r
import uk.ac.vamsas.objects.core.Vref;\r
* \r
* @version $Revision$ $Date$\r
*/\r
-public class VrefDescriptor extends uk.ac.vamsas.objects.core.descriptors.ReferenceTypeDescriptor {\r
-\r
-\r
- //--------------------------/\r
- //- Class/Member Variables -/\r
- //--------------------------/\r
-\r
- /**\r
- * Field _elementDefinition.\r
- */\r
- private boolean _elementDefinition;\r
-\r
- /**\r
- * Field _nsPrefix.\r
- */\r
- private java.lang.String _nsPrefix;\r
-\r
- /**\r
- * Field _nsURI.\r
- */\r
- private java.lang.String _nsURI;\r
-\r
- /**\r
- * Field _xmlName.\r
- */\r
- private java.lang.String _xmlName;\r
-\r
-\r
- //----------------/\r
- //- Constructors -/\r
- //----------------/\r
-\r
- public VrefDescriptor() {\r
- super();\r
- setExtendsWithoutFlatten(new uk.ac.vamsas.objects.core.descriptors.ReferenceTypeDescriptor());\r
- _nsURI = "http://www.vamsas.ac.uk/schemas/1.0/vamsasTypes";\r
- _xmlName = "vref";\r
- _elementDefinition = true;\r
- }\r
-\r
-\r
- //-----------/\r
- //- Methods -/\r
- //-----------/\r
-\r
- /**\r
- * Method getAccessMode.\r
- * \r
- * @return the access mode specified for this class.\r
- */\r
- public org.exolab.castor.mapping.AccessMode getAccessMode(\r
- ) {\r
- return null;\r
- }\r
-\r
- /**\r
- * Method getIdentity.\r
- * \r
- * @return the identity field, null if this class has no\r
- * identity.\r
- */\r
- public org.exolab.castor.mapping.FieldDescriptor getIdentity(\r
- ) {\r
- return super.getIdentity();\r
- }\r
-\r
- /**\r
- * Method getJavaClass.\r
- * \r
- * @return the Java class represented by this descriptor.\r
- */\r
- public java.lang.Class getJavaClass(\r
- ) {\r
- return uk.ac.vamsas.objects.core.Vref.class;\r
- }\r
-\r
- /**\r
- * Method getNameSpacePrefix.\r
- * \r
- * @return the namespace prefix to use when marshaling as XML.\r
- */\r
- public java.lang.String getNameSpacePrefix(\r
- ) {\r
- return _nsPrefix;\r
- }\r
-\r
- /**\r
- * Method getNameSpaceURI.\r
- * \r
- * @return the namespace URI used when marshaling and\r
- * unmarshaling as XML.\r
- */\r
- public java.lang.String getNameSpaceURI(\r
- ) {\r
- return _nsURI;\r
- }\r
-\r
- /**\r
- * Method getValidator.\r
- * \r
- * @return a specific validator for the class described by this\r
- * ClassDescriptor.\r
- */\r
- public org.exolab.castor.xml.TypeValidator getValidator(\r
- ) {\r
- return this;\r
- }\r
-\r
- /**\r
- * Method getXMLName.\r
- * \r
- * @return the XML Name for the Class being described.\r
- */\r
- public java.lang.String getXMLName(\r
- ) {\r
- return _xmlName;\r
- }\r
-\r
- /**\r
- * Method isElementDefinition.\r
- * \r
- * @return true if XML schema definition of this Class is that\r
- * of a global\r
- * element or element with anonymous type definition.\r
- */\r
- public boolean isElementDefinition(\r
- ) {\r
- return _elementDefinition;\r
- }\r
+public class VrefDescriptor extends\r
+ uk.ac.vamsas.objects.core.descriptors.ReferenceTypeDescriptor {\r
+\r
+ // --------------------------/\r
+ // - Class/Member Variables -/\r
+ // --------------------------/\r
+\r
+ /**\r
+ * Field _elementDefinition.\r
+ */\r
+ private boolean _elementDefinition;\r
+\r
+ /**\r
+ * Field _nsPrefix.\r
+ */\r
+ private java.lang.String _nsPrefix;\r
+\r
+ /**\r
+ * Field _nsURI.\r
+ */\r
+ private java.lang.String _nsURI;\r
+\r
+ /**\r
+ * Field _xmlName.\r
+ */\r
+ private java.lang.String _xmlName;\r
+\r
+ // ----------------/\r
+ // - Constructors -/\r
+ // ----------------/\r
+\r
+ public VrefDescriptor() {\r
+ super();\r
+ setExtendsWithoutFlatten(new uk.ac.vamsas.objects.core.descriptors.ReferenceTypeDescriptor());\r
+ _nsURI = "http://www.vamsas.ac.uk/schemas/1.0/vamsasTypes";\r
+ _xmlName = "vref";\r
+ _elementDefinition = true;\r
+ }\r
+\r
+ // -----------/\r
+ // - Methods -/\r
+ // -----------/\r
+\r
+ /**\r
+ * Method getAccessMode.\r
+ * \r
+ * @return the access mode specified for this class.\r
+ */\r
+ public org.exolab.castor.mapping.AccessMode getAccessMode() {\r
+ return null;\r
+ }\r
+\r
+ /**\r
+ * Method getIdentity.\r
+ * \r
+ * @return the identity field, null if this class has no identity.\r
+ */\r
+ public org.exolab.castor.mapping.FieldDescriptor getIdentity() {\r
+ return super.getIdentity();\r
+ }\r
+\r
+ /**\r
+ * Method getJavaClass.\r
+ * \r
+ * @return the Java class represented by this descriptor.\r
+ */\r
+ public java.lang.Class getJavaClass() {\r
+ return uk.ac.vamsas.objects.core.Vref.class;\r
+ }\r
+\r
+ /**\r
+ * Method getNameSpacePrefix.\r
+ * \r
+ * @return the namespace prefix to use when marshaling as XML.\r
+ */\r
+ public java.lang.String getNameSpacePrefix() {\r
+ return _nsPrefix;\r
+ }\r
+\r
+ /**\r
+ * Method getNameSpaceURI.\r
+ * \r
+ * @return the namespace URI used when marshaling and unmarshaling as XML.\r
+ */\r
+ public java.lang.String getNameSpaceURI() {\r
+ return _nsURI;\r
+ }\r
+\r
+ /**\r
+ * Method getValidator.\r
+ * \r
+ * @return a specific validator for the class described by this\r
+ * ClassDescriptor.\r
+ */\r
+ public org.exolab.castor.xml.TypeValidator getValidator() {\r
+ return this;\r
+ }\r
+\r
+ /**\r
+ * Method getXMLName.\r
+ * \r
+ * @return the XML Name for the Class being described.\r
+ */\r
+ public java.lang.String getXMLName() {\r
+ return _xmlName;\r
+ }\r
+\r
+ /**\r
+ * Method isElementDefinition.\r
+ * \r
+ * @return true if XML schema definition of this Class is that of a global\r
+ * element or element with anonymous type definition.\r
+ */\r
+ public boolean isElementDefinition() {\r
+ return _elementDefinition;\r
+ }\r
\r
}\r