update author list in license for (JAL-826)
[jalview.git] / src / jalview / schemabinding / version2 / descriptors / FeaturesDescriptor.java
1 /*******************************************************************************
2  * Jalview - A Sequence Alignment Editor and Viewer (Version 2.7)
3  * Copyright (C) 2011 J Procter, AM Waterhouse, J Engelhardt, LM Lui, G Barton, M Clamp, S Searle
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.  If not, see <http://www.gnu.org/licenses/>.
17  *******************************************************************************/
18 /*
19  * This class was automatically generated with 
20  * <a href="http://www.castor.org">Castor 1.1</a>, using an XML
21  * Schema.
22  * $Id$
23  */
24
25 package jalview.schemabinding.version2.descriptors;
26
27   //---------------------------------/
28  //- Imported classes and packages -/
29 //---------------------------------/
30
31 import jalview.schemabinding.version2.Features;
32
33 /**
34  * Class FeaturesDescriptor.
35  * 
36  * @version $Revision$ $Date$
37  */
38 public class FeaturesDescriptor extends jalview.schemabinding.version2.descriptors.FeatureDescriptor {
39
40
41       //--------------------------/
42      //- Class/Member Variables -/
43     //--------------------------/
44
45     /**
46      * Field _elementDefinition.
47      */
48     private boolean _elementDefinition;
49
50     /**
51      * Field _nsPrefix.
52      */
53     private java.lang.String _nsPrefix;
54
55     /**
56      * Field _nsURI.
57      */
58     private java.lang.String _nsURI;
59
60     /**
61      * Field _xmlName.
62      */
63     private java.lang.String _xmlName;
64
65
66       //----------------/
67      //- Constructors -/
68     //----------------/
69
70     public FeaturesDescriptor() {
71         super();
72         setExtendsWithoutFlatten(new jalview.schemabinding.version2.descriptors.FeatureDescriptor());
73         _nsURI = "www.jalview.org";
74         _xmlName = "features";
75         _elementDefinition = true;
76     }
77
78
79       //-----------/
80      //- Methods -/
81     //-----------/
82
83     /**
84      * Method getAccessMode.
85      * 
86      * @return the access mode specified for this class.
87      */
88     public org.exolab.castor.mapping.AccessMode getAccessMode(
89     ) {
90         return null;
91     }
92
93     /**
94      * Method getIdentity.
95      * 
96      * @return the identity field, null if this class has no
97      * identity.
98      */
99     public org.exolab.castor.mapping.FieldDescriptor getIdentity(
100     ) {
101         return super.getIdentity();
102     }
103
104     /**
105      * Method getJavaClass.
106      * 
107      * @return the Java class represented by this descriptor.
108      */
109     public java.lang.Class getJavaClass(
110     ) {
111         return jalview.schemabinding.version2.Features.class;
112     }
113
114     /**
115      * Method getNameSpacePrefix.
116      * 
117      * @return the namespace prefix to use when marshaling as XML.
118      */
119     public java.lang.String getNameSpacePrefix(
120     ) {
121         return _nsPrefix;
122     }
123
124     /**
125      * Method getNameSpaceURI.
126      * 
127      * @return the namespace URI used when marshaling and
128      * 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
160      * of a global
161      * element or element with anonymous type definition.
162      */
163     public boolean isElementDefinition(
164     ) {
165         return _elementDefinition;
166     }
167
168 }