1 /*******************************************************************************
2 * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
3 * Copyright (C) 2011 J Procter, AM Waterhouse, G Barton, M Clamp, S Searle
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. If not, see <http://www.gnu.org/licenses/>.
17 *******************************************************************************/
19 * This class was automatically generated with
20 * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
25 package jalview.schemabinding.version2.descriptors;
27 //---------------------------------/
28 //- Imported classes and packages -/
29 //---------------------------------/
31 import jalview.schemabinding.version2.VamsasModel;
34 * Class VamsasModelDescriptor.
36 * @version $Revision$ $Date$
38 public class VamsasModelDescriptor extends jalview.schemabinding.version2.descriptors.VAMSASDescriptor {
41 //--------------------------/
42 //- Class/Member Variables -/
43 //--------------------------/
46 * Field _elementDefinition.
48 private boolean _elementDefinition;
53 private java.lang.String _nsPrefix;
58 private java.lang.String _nsURI;
63 private java.lang.String _xmlName;
70 public VamsasModelDescriptor() {
72 setExtendsWithoutFlatten(new jalview.schemabinding.version2.descriptors.VAMSASDescriptor());
73 _nsURI = "www.jalview.org";
74 _xmlName = "vamsasModel";
75 _elementDefinition = true;
84 * Method getAccessMode.
86 * @return the access mode specified for this class.
88 public org.exolab.castor.mapping.AccessMode getAccessMode(
96 * @return the identity field, null if this class has no
99 public org.exolab.castor.mapping.FieldDescriptor getIdentity(
101 return super.getIdentity();
105 * Method getJavaClass.
107 * @return the Java class represented by this descriptor.
109 public java.lang.Class getJavaClass(
111 return jalview.schemabinding.version2.VamsasModel.class;
115 * Method getNameSpacePrefix.
117 * @return the namespace prefix to use when marshaling as XML.
119 public java.lang.String getNameSpacePrefix(
125 * Method getNameSpaceURI.
127 * @return the namespace URI used when marshaling and
128 * 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
161 * element or element with anonymous type definition.
163 public boolean isElementDefinition(
165 return _elementDefinition;