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