1 /*******************************************************************************
2 * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3 * Copyright (C) $(date) 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
10 * of the License, or (at your option) any later version.
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.
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 *******************************************************************************/
22 * This class was automatically generated with
23 * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
28 package jalview.schemabinding.version2.descriptors;
30 //---------------------------------/
31 //- Imported classes and packages -/
32 //---------------------------------/
34 import jalview.schemabinding.version2.VamsasModel;
37 * Class VamsasModelDescriptor.
39 * @version $Revision$ $Date$
41 public class VamsasModelDescriptor extends
42 jalview.schemabinding.version2.descriptors.VAMSASDescriptor
45 // --------------------------/
46 // - Class/Member Variables -/
47 // --------------------------/
50 * Field _elementDefinition.
52 private boolean _elementDefinition;
57 private java.lang.String _nsPrefix;
62 private java.lang.String _nsURI;
67 private java.lang.String _xmlName;
73 public VamsasModelDescriptor()
76 setExtendsWithoutFlatten(new jalview.schemabinding.version2.descriptors.VAMSASDescriptor());
77 _nsURI = "www.jalview.org";
78 _xmlName = "vamsasModel";
79 _elementDefinition = true;
87 * Method getAccessMode.
89 * @return the access mode specified for this class.
91 public org.exolab.castor.mapping.AccessMode getAccessMode()
99 * @return the identity field, null if this class has no identity.
101 public org.exolab.castor.mapping.FieldDescriptor getIdentity()
103 return super.getIdentity();
107 * Method getJavaClass.
109 * @return the Java class represented by this descriptor.
111 public java.lang.Class getJavaClass()
113 return jalview.schemabinding.version2.VamsasModel.class;
117 * Method getNameSpacePrefix.
119 * @return the namespace prefix to use when marshaling as XML.
121 public java.lang.String getNameSpacePrefix()
127 * Method getNameSpaceURI.
129 * @return the namespace URI used when marshaling and unmarshaling as XML.
131 public java.lang.String getNameSpaceURI()
137 * Method getValidator.
139 * @return a specific validator for the class described by this
142 public org.exolab.castor.xml.TypeValidator getValidator()
150 * @return the XML Name for the Class being described.
152 public java.lang.String getXMLName()
158 * Method isElementDefinition.
160 * @return true if XML schema definition of this Class is that of a global
161 * element or element with anonymous type definition.
163 public boolean isElementDefinition()
165 return _elementDefinition;