1
2
3
4
5
6
7
8 package org.exolab.castor.tests.framework.testDescriptor.descriptors;
9
10
11
12
13
14 import org.exolab.castor.tests.framework.testDescriptor.Root_Object;
15
16
17
18
19
20
21 public class Root_ObjectDescriptor extends org.exolab.castor.tests.framework.testDescriptor.descriptors.RootTypeDescriptor {
22
23
24
25
26
27
28
29
30
31 private boolean _elementDefinition;
32
33
34
35
36 private java.lang.String _nsPrefix;
37
38
39
40
41 private java.lang.String _nsURI;
42
43
44
45
46 private java.lang.String _xmlName;
47
48
49
50
51 private org.exolab.castor.xml.XMLFieldDescriptor _identity;
52
53
54
55
56
57
58 public Root_ObjectDescriptor() {
59 super();
60 setExtendsWithoutFlatten(new org.exolab.castor.tests.framework.testDescriptor.descriptors.RootTypeDescriptor());
61 _nsURI = "http://castor.exolab.org/Test";
62 _xmlName = "Root_Object";
63 _elementDefinition = true;
64 }
65
66
67
68
69
70
71
72
73
74
75
76 public org.exolab.castor.mapping.AccessMode getAccessMode(
77 ) {
78 return null;
79 }
80
81
82
83
84
85
86
87 public org.exolab.castor.mapping.FieldDescriptor getIdentity(
88 ) {
89 if (_identity == null) {
90 return super.getIdentity();
91 }
92 return _identity;
93 }
94
95
96
97
98
99
100 public java.lang.Class getJavaClass(
101 ) {
102 return org.exolab.castor.tests.framework.testDescriptor.Root_Object.class;
103 }
104
105
106
107
108
109
110 public java.lang.String getNameSpacePrefix(
111 ) {
112 return _nsPrefix;
113 }
114
115
116
117
118
119
120
121 public java.lang.String getNameSpaceURI(
122 ) {
123 return _nsURI;
124 }
125
126
127
128
129
130
131
132 public org.exolab.castor.xml.TypeValidator getValidator(
133 ) {
134 return this;
135 }
136
137
138
139
140
141
142 public java.lang.String getXMLName(
143 ) {
144 return _xmlName;
145 }
146
147
148
149
150
151
152
153
154 public boolean isElementDefinition(
155 ) {
156 return _elementDefinition;
157 }
158
159 }