View Javadoc
1   /*
2    * This class was automatically generated with 
3    * <a href="http://www.castor.org">Castor 1.3.1</a>, using an XML
4    * Schema.
5    * $Id$
6    */
7   
8   package org.exolab.castor.tests.framework.testDescriptor.types.descriptors;
9   
10    //---------------------------------/
11   //- Imported classes and packages -/
12  //---------------------------------/
13  
14  import org.exolab.castor.tests.framework.testDescriptor.types.TypeType;
15  
16  /**
17   * Class TypeTypeDescriptor.
18   * 
19   * @version $Revision$ $Date$
20   */
21  public class TypeTypeDescriptor extends org.exolab.castor.xml.util.XMLClassDescriptorImpl {
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       * Field _identity.
50       */
51      private org.exolab.castor.xml.XMLFieldDescriptor _identity;
52  
53  
54        //----------------/
55       //- Constructors -/
56      //----------------/
57  
58      public TypeTypeDescriptor() {
59          super();
60          _nsURI = "http://castor.exolab.org/Test";
61          _xmlName = "TypeType";
62          _elementDefinition = false;
63      }
64  
65  
66        //-----------/
67       //- Methods -/
68      //-----------/
69  
70      /**
71       * Method getAccessMode.
72       * 
73       * @return the access mode specified for this class.
74       */
75      public org.exolab.castor.mapping.AccessMode getAccessMode(
76      ) {
77          return null;
78      }
79  
80      /**
81       * Method getIdentity.
82       * 
83       * @return the identity field, null if this class has no
84       * identity.
85       */
86      public org.exolab.castor.mapping.FieldDescriptor getIdentity(
87      ) {
88          return _identity;
89      }
90  
91      /**
92       * Method getJavaClass.
93       * 
94       * @return the Java class represented by this descriptor.
95       */
96      public java.lang.Class getJavaClass(
97      ) {
98          return org.exolab.castor.tests.framework.testDescriptor.types.TypeType.class;
99      }
100 
101     /**
102      * Method getNameSpacePrefix.
103      * 
104      * @return the namespace prefix to use when marshaling as XML.
105      */
106     public java.lang.String getNameSpacePrefix(
107     ) {
108         return _nsPrefix;
109     }
110 
111     /**
112      * Method getNameSpaceURI.
113      * 
114      * @return the namespace URI used when marshaling and
115      * unmarshaling as XML.
116      */
117     public java.lang.String getNameSpaceURI(
118     ) {
119         return _nsURI;
120     }
121 
122     /**
123      * Method getValidator.
124      * 
125      * @return a specific validator for the class described by this
126      * ClassDescriptor.
127      */
128     public org.exolab.castor.xml.TypeValidator getValidator(
129     ) {
130         return this;
131     }
132 
133     /**
134      * Method getXMLName.
135      * 
136      * @return the XML Name for the Class being described.
137      */
138     public java.lang.String getXMLName(
139     ) {
140         return _xmlName;
141     }
142 
143     /**
144      * Method isElementDefinition.
145      * 
146      * @return true if XML schema definition of this Class is that
147      * of a global
148      * element or element with anonymous type definition.
149      */
150     public boolean isElementDefinition(
151     ) {
152         return _elementDefinition;
153     }
154 
155 }