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