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