1 /*******************************************************************************
2 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.8.1)
3 * Copyright (C) 2014 The Jalview Authors
5 * This file is part of Jalview.
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.
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.
16 * You should have received a copy of the GNU General Public License along with Jalview.
17 * If not, see <http://www.gnu.org/licenses/>.
18 * The Jalview Authors are detailed in the 'AUTHORS' file.
19 ******************************************************************************/
21 * This class was automatically generated with
22 * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
27 package jalview.schemabinding.version2.descriptors;
29 //---------------------------------/
30 //- Imported classes and packages -/
31 //---------------------------------/
33 import jalview.schemabinding.version2.VamsasModel;
36 * Class VamsasModelDescriptor.
38 * @version $Revision$ $Date$
40 public class VamsasModelDescriptor extends
41 jalview.schemabinding.version2.descriptors.VAMSASDescriptor
44 // --------------------------/
45 // - Class/Member Variables -/
46 // --------------------------/
49 * Field _elementDefinition.
51 private boolean _elementDefinition;
56 private java.lang.String _nsPrefix;
61 private java.lang.String _nsURI;
66 private java.lang.String _xmlName;
72 public VamsasModelDescriptor()
75 setExtendsWithoutFlatten(new jalview.schemabinding.version2.descriptors.VAMSASDescriptor());
76 _nsURI = "www.jalview.org";
77 _xmlName = "vamsasModel";
78 _elementDefinition = true;
86 * Method getAccessMode.
88 * @return the access mode specified for this class.
90 public org.exolab.castor.mapping.AccessMode getAccessMode()
98 * @return the identity field, null if this class has no identity.
100 public org.exolab.castor.mapping.FieldDescriptor getIdentity()
102 return super.getIdentity();
106 * Method getJavaClass.
108 * @return the Java class represented by this descriptor.
110 public java.lang.Class getJavaClass()
112 return jalview.schemabinding.version2.VamsasModel.class;
116 * Method getNameSpacePrefix.
118 * @return the namespace prefix to use when marshaling as XML.
120 public java.lang.String getNameSpacePrefix()
126 * Method getNameSpaceURI.
128 * @return the namespace URI used when marshaling and unmarshaling as XML.
130 public java.lang.String getNameSpaceURI()
136 * Method getValidator.
138 * @return a specific validator for the class described by this
141 public org.exolab.castor.xml.TypeValidator getValidator()
149 * @return the XML Name for the Class being described.
151 public java.lang.String getXMLName()
157 * Method isElementDefinition.
159 * @return true if XML schema definition of this Class is that of a global
160 * element or element with anonymous type definition.
162 public boolean isElementDefinition()
164 return _elementDefinition;