5eb3939ceef82f7f8dd2656c50f9d7bb50b7c7f0
[jalview.git] / src / jalview / schemabinding / version2 / descriptors / AnnotationColoursDescriptor.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.AnnotationColours;
34
35 /**
36  * Class AnnotationColoursDescriptor.
37  * 
38  * @version $Revision$ $Date$
39  */
40 public class AnnotationColoursDescriptor
41         extends
42         jalview.schemabinding.version2.descriptors.AnnotationColourSchemeDescriptor
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 AnnotationColoursDescriptor()
74   {
75     super();
76     setExtendsWithoutFlatten(new jalview.schemabinding.version2.descriptors.AnnotationColourSchemeDescriptor());
77     _nsURI = "www.jalview.org";
78     _xmlName = "AnnotationColours";
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.AnnotationColours.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 }