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