7a915770e5ea0f9a71c5902aaf378c62c95c48fc
[jalview.git] / src / jalview / schemabinding / version2 / descriptors / VamsasModelDescriptor.java
1 /*******************************************************************************
2  * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$)
3  * Copyright (C) $(date) The Jalview Authors
4  *
5  * This file is part of Jalview.
6  *  
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.
11  *   
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.
16  *
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  *******************************************************************************/
21 /*
22  * This class was automatically generated with 
23  * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
24  * Schema.
25  * $Id$
26  */
27
28 package jalview.schemabinding.version2.descriptors;
29
30 //---------------------------------/
31 //- Imported classes and packages -/
32 //---------------------------------/
33
34 import jalview.schemabinding.version2.VamsasModel;
35
36 /**
37  * Class VamsasModelDescriptor.
38  * 
39  * @version $Revision$ $Date$
40  */
41 public class VamsasModelDescriptor extends
42         jalview.schemabinding.version2.descriptors.VAMSASDescriptor
43 {
44
45   // --------------------------/
46   // - Class/Member Variables -/
47   // --------------------------/
48
49   /**
50    * Field _elementDefinition.
51    */
52   private boolean _elementDefinition;
53
54   /**
55    * Field _nsPrefix.
56    */
57   private java.lang.String _nsPrefix;
58
59   /**
60    * Field _nsURI.
61    */
62   private java.lang.String _nsURI;
63
64   /**
65    * Field _xmlName.
66    */
67   private java.lang.String _xmlName;
68
69   // ----------------/
70   // - Constructors -/
71   // ----------------/
72
73   public VamsasModelDescriptor()
74   {
75     super();
76     setExtendsWithoutFlatten(new jalview.schemabinding.version2.descriptors.VAMSASDescriptor());
77     _nsURI = "www.jalview.org";
78     _xmlName = "vamsasModel";
79     _elementDefinition = true;
80   }
81
82   // -----------/
83   // - Methods -/
84   // -----------/
85
86   /**
87    * Method getAccessMode.
88    * 
89    * @return the access mode specified for this class.
90    */
91   public org.exolab.castor.mapping.AccessMode getAccessMode()
92   {
93     return null;
94   }
95
96   /**
97    * Method getIdentity.
98    * 
99    * @return the identity field, null if this class has no identity.
100    */
101   public org.exolab.castor.mapping.FieldDescriptor getIdentity()
102   {
103     return super.getIdentity();
104   }
105
106   /**
107    * Method getJavaClass.
108    * 
109    * @return the Java class represented by this descriptor.
110    */
111   public java.lang.Class getJavaClass()
112   {
113     return jalview.schemabinding.version2.VamsasModel.class;
114   }
115
116   /**
117    * Method getNameSpacePrefix.
118    * 
119    * @return the namespace prefix to use when marshaling as XML.
120    */
121   public java.lang.String getNameSpacePrefix()
122   {
123     return _nsPrefix;
124   }
125
126   /**
127    * Method getNameSpaceURI.
128    * 
129    * @return the namespace URI used when marshaling and unmarshaling as XML.
130    */
131   public java.lang.String getNameSpaceURI()
132   {
133     return _nsURI;
134   }
135
136   /**
137    * Method getValidator.
138    * 
139    * @return a specific validator for the class described by this
140    *         ClassDescriptor.
141    */
142   public org.exolab.castor.xml.TypeValidator getValidator()
143   {
144     return this;
145   }
146
147   /**
148    * Method getXMLName.
149    * 
150    * @return the XML Name for the Class being described.
151    */
152   public java.lang.String getXMLName()
153   {
154     return _xmlName;
155   }
156
157   /**
158    * Method isElementDefinition.
159    * 
160    * @return true if XML schema definition of this Class is that of a global
161    *         element or element with anonymous type definition.
162    */
163   public boolean isElementDefinition()
164   {
165     return _elementDefinition;
166   }
167
168 }