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.mapping.xml.types.descriptors;
9   
10    //---------------------------------/
11   //- Imported classes and packages -/
12  //---------------------------------/
13  
14  import org.exolab.castor.mapping.xml.types.SqlDirtyType;
15  
16  /**
17   * Class SqlDirtyTypeDescriptor.
18   * 
19   * @version $Revision$ $Date$
20   */
21  public class SqlDirtyTypeDescriptor 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 SqlDirtyTypeDescriptor() {
59          super();
60          _nsURI = "http://castor.exolab.org/";
61          _xmlName = "SqlDirtyType";
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      @Override()
76      public org.exolab.castor.mapping.AccessMode getAccessMode(
77      ) {
78          return null;
79      }
80  
81      /**
82       * Method getIdentity.
83       * 
84       * @return the identity field, null if this class has no
85       * identity.
86       */
87      @Override()
88      public org.exolab.castor.mapping.FieldDescriptor getIdentity(
89      ) {
90          return _identity;
91      }
92  
93      /**
94       * Method getJavaClass.
95       * 
96       * @return the Java class represented by this descriptor.
97       */
98      @Override()
99      public java.lang.Class getJavaClass(
100     ) {
101         return org.exolab.castor.mapping.xml.types.SqlDirtyType.class;
102     }
103 
104     /**
105      * Method getNameSpacePrefix.
106      * 
107      * @return the namespace prefix to use when marshaling as XML.
108      */
109     @Override()
110     public java.lang.String getNameSpacePrefix(
111     ) {
112         return _nsPrefix;
113     }
114 
115     /**
116      * Method getNameSpaceURI.
117      * 
118      * @return the namespace URI used when marshaling and
119      * unmarshaling as XML.
120      */
121     @Override()
122     public java.lang.String getNameSpaceURI(
123     ) {
124         return _nsURI;
125     }
126 
127     /**
128      * Method getValidator.
129      * 
130      * @return a specific validator for the class described by this
131      * ClassDescriptor.
132      */
133     @Override()
134     public org.exolab.castor.xml.TypeValidator getValidator(
135     ) {
136         return this;
137     }
138 
139     /**
140      * Method getXMLName.
141      * 
142      * @return the XML Name for the Class being described.
143      */
144     @Override()
145     public java.lang.String getXMLName(
146     ) {
147         return _xmlName;
148     }
149 
150     /**
151      * Method isElementDefinition.
152      * 
153      * @return true if XML schema definition of this Class is that
154      * of a global
155      * element or element with anonymous type definition.
156      */
157     public boolean isElementDefinition(
158     ) {
159         return _elementDefinition;
160     }
161 
162 }