Clover icon

jalviewX

  1. Project Clover database Wed Oct 31 2018 15:13:58 GMT
  2. Package jalview.schemabinding.version2.descriptors

File StructureStateDescriptor.java

 

Coverage histogram

../../../../img/srcFileCovDistChart8.png
19% of files have more coverage

Code metrics

40
255
42
1
727
562
73
0.29
6.07
42
1.74

Classes

Class Line # Actions
StructureStateDescriptor 21 255 73 82
0.7566765575.7%
 

Contributing tests

This file is covered by 6 tests. .

Source view

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.StructureState;
15   
16    /**
17    * Class StructureStateDescriptor.
18    *
19    * @version $Revision$ $Date$
20    */
 
21    public class StructureStateDescriptor extends
22    org.exolab.castor.xml.util.XMLClassDescriptorImpl
23    {
24   
25    // --------------------------/
26    // - Class/Member Variables -/
27    // --------------------------/
28   
29    /**
30    * Field _elementDefinition.
31    */
32    private boolean _elementDefinition;
33   
34    /**
35    * Field _nsPrefix.
36    */
37    private java.lang.String _nsPrefix;
38   
39    /**
40    * Field _nsURI.
41    */
42    private java.lang.String _nsURI;
43   
44    /**
45    * Field _xmlName.
46    */
47    private java.lang.String _xmlName;
48   
49    // ----------------/
50    // - Constructors -/
51    // ----------------/
52   
 
53  160 toggle public StructureStateDescriptor()
54    {
55  160 super();
56  160 _nsURI = "www.jalview.org";
57  160 _xmlName = "structureState";
58  160 _elementDefinition = true;
59  160 org.exolab.castor.xml.util.XMLFieldDescriptorImpl desc = null;
60  160 org.exolab.castor.mapping.FieldHandler handler = null;
61  160 org.exolab.castor.xml.FieldValidator fieldValidator = null;
62    // -- _content
63  160 desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
64    java.lang.String.class, "_content", "PCDATA",
65    org.exolab.castor.xml.NodeType.Text);
66  160 desc.setImmutable(true);
67  160 handler = new org.exolab.castor.xml.XMLFieldHandler()
68    {
 
69  40 toggle public java.lang.Object getValue(java.lang.Object object)
70    throws IllegalStateException
71    {
72  40 StructureState target = (StructureState) object;
73  40 return target.getContent();
74    }
75   
 
76  100 toggle public void setValue(java.lang.Object object, java.lang.Object value)
77    throws IllegalStateException, IllegalArgumentException
78    {
79  100 try
80    {
81  100 StructureState target = (StructureState) object;
82  100 target.setContent((java.lang.String) value);
83    } catch (java.lang.Exception ex)
84    {
85  0 throw new IllegalStateException(ex.toString());
86    }
87    }
88   
 
89  0 toggle public java.lang.Object newInstance(java.lang.Object parent)
90    {
91  0 return null;
92    }
93    };
94  160 desc.setHandler(handler);
95  160 addFieldDescriptor(desc);
96   
97    // -- validation code for: _content
98  160 fieldValidator = new org.exolab.castor.xml.FieldValidator();
99    { // -- local scope
100  160 org.exolab.castor.xml.validators.StringValidator typeValidator;
101  160 typeValidator = new org.exolab.castor.xml.validators.StringValidator();
102  160 fieldValidator.setValidator(typeValidator);
103  160 typeValidator.setWhiteSpace("preserve");
104    }
105  160 desc.setValidator(fieldValidator);
106    // -- initialize attribute descriptors
107   
108    // -- _visible
109  160 desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
110    java.lang.Boolean.TYPE, "_visible", "visible",
111    org.exolab.castor.xml.NodeType.Attribute);
112  160 handler = new org.exolab.castor.xml.XMLFieldHandler()
113    {
 
114  40 toggle public java.lang.Object getValue(java.lang.Object object)
115    throws IllegalStateException
116    {
117  40 StructureState target = (StructureState) object;
118  40 if (!target.hasVisible())
119    {
120  0 return null;
121    }
122  40 return (target.getVisible() ? java.lang.Boolean.TRUE
123    : java.lang.Boolean.FALSE);
124    }
125   
 
126  120 toggle public void setValue(java.lang.Object object, java.lang.Object value)
127    throws IllegalStateException, IllegalArgumentException
128    {
129  120 try
130    {
131  120 StructureState target = (StructureState) object;
132    // if null, use delete method for optional primitives
133  120 if (value == null)
134    {
135  0 target.deleteVisible();
136  0 return;
137    }
138  120 target.setVisible(((java.lang.Boolean) value).booleanValue());
139    } catch (java.lang.Exception ex)
140    {
141  0 throw new IllegalStateException(ex.toString());
142    }
143    }
144   
 
145  0 toggle public java.lang.Object newInstance(java.lang.Object parent)
146    {
147  0 return null;
148    }
149    };
150  160 desc.setHandler(handler);
151  160 desc.setMultivalued(false);
152  160 addFieldDescriptor(desc);
153   
154    // -- validation code for: _visible
155  160 fieldValidator = new org.exolab.castor.xml.FieldValidator();
156    { // -- local scope
157  160 org.exolab.castor.xml.validators.BooleanValidator typeValidator;
158  160 typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
159  160 fieldValidator.setValidator(typeValidator);
160    }
161  160 desc.setValidator(fieldValidator);
162    // -- _viewId
163  160 desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
164    java.lang.String.class, "_viewId", "viewId",
165    org.exolab.castor.xml.NodeType.Attribute);
166  160 desc.setImmutable(true);
167  160 handler = new org.exolab.castor.xml.XMLFieldHandler()
168    {
 
169  40 toggle public java.lang.Object getValue(java.lang.Object object)
170    throws IllegalStateException
171    {
172  40 StructureState target = (StructureState) object;
173  40 return target.getViewId();
174    }
175   
 
176  120 toggle public void setValue(java.lang.Object object, java.lang.Object value)
177    throws IllegalStateException, IllegalArgumentException
178    {
179  120 try
180    {
181  120 StructureState target = (StructureState) object;
182  120 target.setViewId((java.lang.String) value);
183    } catch (java.lang.Exception ex)
184    {
185  0 throw new IllegalStateException(ex.toString());
186    }
187    }
188   
 
189  0 toggle public java.lang.Object newInstance(java.lang.Object parent)
190    {
191  0 return null;
192    }
193    };
194  160 desc.setHandler(handler);
195  160 desc.setMultivalued(false);
196  160 addFieldDescriptor(desc);
197   
198    // -- validation code for: _viewId
199  160 fieldValidator = new org.exolab.castor.xml.FieldValidator();
200    { // -- local scope
201  160 org.exolab.castor.xml.validators.StringValidator typeValidator;
202  160 typeValidator = new org.exolab.castor.xml.validators.StringValidator();
203  160 fieldValidator.setValidator(typeValidator);
204  160 typeValidator.setWhiteSpace("preserve");
205    }
206  160 desc.setValidator(fieldValidator);
207    // -- _alignwithAlignPanel
208  160 desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
209    java.lang.Boolean.TYPE, "_alignwithAlignPanel",
210    "alignwithAlignPanel", org.exolab.castor.xml.NodeType.Attribute);
211  160 handler = new org.exolab.castor.xml.XMLFieldHandler()
212    {
 
213  40 toggle public java.lang.Object getValue(java.lang.Object object)
214    throws IllegalStateException
215    {
216  40 StructureState target = (StructureState) object;
217  40 if (!target.hasAlignwithAlignPanel())
218    {
219  0 return null;
220    }
221  40 return (target.getAlignwithAlignPanel() ? java.lang.Boolean.TRUE
222    : java.lang.Boolean.FALSE);
223    }
224   
 
225  120 toggle public void setValue(java.lang.Object object, java.lang.Object value)
226    throws IllegalStateException, IllegalArgumentException
227    {
228  120 try
229    {
230  120 StructureState target = (StructureState) object;
231    // if null, use delete method for optional primitives
232  120 if (value == null)
233    {
234  0 target.deleteAlignwithAlignPanel();
235  0 return;
236    }
237  120 target.setAlignwithAlignPanel(((java.lang.Boolean) value)
238    .booleanValue());
239    } catch (java.lang.Exception ex)
240    {
241  0 throw new IllegalStateException(ex.toString());
242    }
243    }
244   
 
245  0 toggle public java.lang.Object newInstance(java.lang.Object parent)
246    {
247  0 return null;
248    }
249    };
250  160 desc.setHandler(handler);
251  160 desc.setMultivalued(false);
252  160 addFieldDescriptor(desc);
253   
254    // -- validation code for: _alignwithAlignPanel
255  160 fieldValidator = new org.exolab.castor.xml.FieldValidator();
256    { // -- local scope
257  160 org.exolab.castor.xml.validators.BooleanValidator typeValidator;
258  160 typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
259  160 fieldValidator.setValidator(typeValidator);
260    }
261  160 desc.setValidator(fieldValidator);
262    // -- _colourwithAlignPanel
263  160 desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
264    java.lang.Boolean.TYPE, "_colourwithAlignPanel",
265    "colourwithAlignPanel",
266    org.exolab.castor.xml.NodeType.Attribute);
267  160 handler = new org.exolab.castor.xml.XMLFieldHandler()
268    {
 
269  40 toggle public java.lang.Object getValue(java.lang.Object object)
270    throws IllegalStateException
271    {
272  40 StructureState target = (StructureState) object;
273  40 if (!target.hasColourwithAlignPanel())
274    {
275  0 return null;
276    }
277  40 return (target.getColourwithAlignPanel() ? java.lang.Boolean.TRUE
278    : java.lang.Boolean.FALSE);
279    }
280   
 
281  120 toggle public void setValue(java.lang.Object object, java.lang.Object value)
282    throws IllegalStateException, IllegalArgumentException
283    {
284  120 try
285    {
286  120 StructureState target = (StructureState) object;
287    // if null, use delete method for optional primitives
288  120 if (value == null)
289    {
290  0 target.deleteColourwithAlignPanel();
291  0 return;
292    }
293  120 target.setColourwithAlignPanel(((java.lang.Boolean) value)
294    .booleanValue());
295    } catch (java.lang.Exception ex)
296    {
297  0 throw new IllegalStateException(ex.toString());
298    }
299    }
300   
 
301  0 toggle public java.lang.Object newInstance(java.lang.Object parent)
302    {
303  0 return null;
304    }
305    };
306  160 desc.setHandler(handler);
307  160 desc.setMultivalued(false);
308  160 addFieldDescriptor(desc);
309   
310    // -- validation code for: _colourwithAlignPanel
311  160 fieldValidator = new org.exolab.castor.xml.FieldValidator();
312    { // -- local scope
313  160 org.exolab.castor.xml.validators.BooleanValidator typeValidator;
314  160 typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
315  160 fieldValidator.setValidator(typeValidator);
316    }
317  160 desc.setValidator(fieldValidator);
318    // -- _colourByJmol
319  160 desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
320    java.lang.Boolean.TYPE, "_colourByJmol", "colourByJmol",
321    org.exolab.castor.xml.NodeType.Attribute);
322  160 handler = new org.exolab.castor.xml.XMLFieldHandler()
323    {
 
324  40 toggle public java.lang.Object getValue(java.lang.Object object)
325    throws IllegalStateException
326    {
327  40 StructureState target = (StructureState) object;
328  40 if (!target.hasColourByJmol())
329    {
330  0 return null;
331    }
332  40 return (target.getColourByJmol() ? java.lang.Boolean.TRUE
333    : java.lang.Boolean.FALSE);
334    }
335   
 
336  120 toggle public void setValue(java.lang.Object object, java.lang.Object value)
337    throws IllegalStateException, IllegalArgumentException
338    {
339  120 try
340    {
341  120 StructureState target = (StructureState) object;
342    // if null, use delete method for optional primitives
343  120 if (value == null)
344    {
345  0 target.deleteColourByJmol();
346  0 return;
347    }
348  120 target.setColourByJmol(((java.lang.Boolean) value).booleanValue());
349    } catch (java.lang.Exception ex)
350    {
351  0 throw new IllegalStateException(ex.toString());
352    }
353    }
354   
 
355  0 toggle public java.lang.Object newInstance(java.lang.Object parent)
356    {
357  0 return null;
358    }
359    };
360  160 desc.setHandler(handler);
361  160 desc.setMultivalued(false);
362  160 addFieldDescriptor(desc);
363   
364    // -- validation code for: _colourByJmol
365  160 fieldValidator = new org.exolab.castor.xml.FieldValidator();
366    { // -- local scope
367  160 org.exolab.castor.xml.validators.BooleanValidator typeValidator;
368  160 typeValidator = new org.exolab.castor.xml.validators.BooleanValidator();
369  160 fieldValidator.setValidator(typeValidator);
370    }
371  160 desc.setValidator(fieldValidator);
372    // -- _type
373  160 desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
374    java.lang.String.class, "_type", "type",
375    org.exolab.castor.xml.NodeType.Attribute);
376  160 desc.setImmutable(true);
377  160 handler = new org.exolab.castor.xml.XMLFieldHandler()
378    {
 
379  40 toggle public java.lang.Object getValue(java.lang.Object object)
380    throws IllegalStateException
381    {
382  40 StructureState target = (StructureState) object;
383  40 return target.getType();
384    }
385   
 
386  20 toggle public void setValue(java.lang.Object object, java.lang.Object value)
387    throws IllegalStateException, IllegalArgumentException
388    {
389  20 try
390    {
391  20 StructureState target = (StructureState) object;
392  20 target.setType((java.lang.String) value);
393    } catch (java.lang.Exception ex)
394    {
395  0 throw new IllegalStateException(ex.toString());
396    }
397    }
398   
 
399  0 toggle public java.lang.Object newInstance(java.lang.Object parent)
400    {
401  0 return null;
402    }
403    };
404  160 desc.setHandler(handler);
405  160 desc.setMultivalued(false);
406  160 addFieldDescriptor(desc);
407   
408    // -- validation code for: _type
409  160 fieldValidator = new org.exolab.castor.xml.FieldValidator();
410    { // -- local scope
411  160 org.exolab.castor.xml.validators.StringValidator typeValidator;
412  160 typeValidator = new org.exolab.castor.xml.validators.StringValidator();
413  160 fieldValidator.setValidator(typeValidator);
414  160 typeValidator.setWhiteSpace("preserve");
415    }
416  160 desc.setValidator(fieldValidator);
417    // -- _width
418  160 desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
419    java.lang.Integer.TYPE, "_width", "width",
420    org.exolab.castor.xml.NodeType.Attribute);
421  160 handler = new org.exolab.castor.xml.XMLFieldHandler()
422    {
 
423  40 toggle public java.lang.Object getValue(java.lang.Object object)
424    throws IllegalStateException
425    {
426  40 StructureState target = (StructureState) object;
427  40 if (!target.hasWidth())
428    {
429  0 return null;
430    }
431  40 return new java.lang.Integer(target.getWidth());
432    }
433   
 
434  120 toggle public void setValue(java.lang.Object object, java.lang.Object value)
435    throws IllegalStateException, IllegalArgumentException
436    {
437  120 try
438    {
439  120 StructureState target = (StructureState) object;
440    // if null, use delete method for optional primitives
441  120 if (value == null)
442    {
443  0 target.deleteWidth();
444  0 return;
445    }
446  120 target.setWidth(((java.lang.Integer) value).intValue());
447    } catch (java.lang.Exception ex)
448    {
449  0 throw new IllegalStateException(ex.toString());
450    }
451    }
452   
 
453  0 toggle public java.lang.Object newInstance(java.lang.Object parent)
454    {
455  0 return null;
456    }
457    };
458  160 desc.setHandler(handler);
459  160 desc.setMultivalued(false);
460  160 addFieldDescriptor(desc);
461   
462    // -- validation code for: _width
463  160 fieldValidator = new org.exolab.castor.xml.FieldValidator();
464    { // -- local scope
465  160 org.exolab.castor.xml.validators.IntValidator typeValidator;
466  160 typeValidator = new org.exolab.castor.xml.validators.IntValidator();
467  160 fieldValidator.setValidator(typeValidator);
468  160 typeValidator.setMinInclusive(-2147483648);
469  160 typeValidator.setMaxInclusive(2147483647);
470    }
471  160 desc.setValidator(fieldValidator);
472    // -- _height
473  160 desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
474    java.lang.Integer.TYPE, "_height", "height",
475    org.exolab.castor.xml.NodeType.Attribute);
476  160 handler = new org.exolab.castor.xml.XMLFieldHandler()
477    {
 
478  40 toggle public java.lang.Object getValue(java.lang.Object object)
479    throws IllegalStateException
480    {
481  40 StructureState target = (StructureState) object;
482  40 if (!target.hasHeight())
483    {
484  0 return null;
485    }
486  40 return new java.lang.Integer(target.getHeight());
487    }
488   
 
489  120 toggle public void setValue(java.lang.Object object, java.lang.Object value)
490    throws IllegalStateException, IllegalArgumentException
491    {
492  120 try
493    {
494  120 StructureState target = (StructureState) object;
495    // if null, use delete method for optional primitives
496  120 if (value == null)
497    {
498  0 target.deleteHeight();
499  0 return;
500    }
501  120 target.setHeight(((java.lang.Integer) value).intValue());
502    } catch (java.lang.Exception ex)
503    {
504  0 throw new IllegalStateException(ex.toString());
505    }
506    }
507   
 
508  0 toggle public java.lang.Object newInstance(java.lang.Object parent)
509    {
510  0 return null;
511    }
512    };
513  160 desc.setHandler(handler);
514  160 desc.setMultivalued(false);
515  160 addFieldDescriptor(desc);
516   
517    // -- validation code for: _height
518  160 fieldValidator = new org.exolab.castor.xml.FieldValidator();
519    { // -- local scope
520  160 org.exolab.castor.xml.validators.IntValidator typeValidator;
521  160 typeValidator = new org.exolab.castor.xml.validators.IntValidator();
522  160 fieldValidator.setValidator(typeValidator);
523  160 typeValidator.setMinInclusive(-2147483648);
524  160 typeValidator.setMaxInclusive(2147483647);
525    }
526  160 desc.setValidator(fieldValidator);
527    // -- _xpos
528  160 desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
529    java.lang.Integer.TYPE, "_xpos", "xpos",
530    org.exolab.castor.xml.NodeType.Attribute);
531  160 handler = new org.exolab.castor.xml.XMLFieldHandler()
532    {
 
533  40 toggle public java.lang.Object getValue(java.lang.Object object)
534    throws IllegalStateException
535    {
536  40 StructureState target = (StructureState) object;
537  40 if (!target.hasXpos())
538    {
539  0 return null;
540    }
541  40 return new java.lang.Integer(target.getXpos());
542    }
543   
 
544  120 toggle public void setValue(java.lang.Object object, java.lang.Object value)
545    throws IllegalStateException, IllegalArgumentException
546    {
547  120 try
548    {
549  120 StructureState target = (StructureState) object;
550    // if null, use delete method for optional primitives
551  120 if (value == null)
552    {
553  0 target.deleteXpos();
554  0 return;
555    }
556  120 target.setXpos(((java.lang.Integer) value).intValue());
557    } catch (java.lang.Exception ex)
558    {
559  0 throw new IllegalStateException(ex.toString());
560    }
561    }
562   
 
563  0 toggle public java.lang.Object newInstance(java.lang.Object parent)
564    {
565  0 return null;
566    }
567    };
568  160 desc.setHandler(handler);
569  160 desc.setMultivalued(false);
570  160 addFieldDescriptor(desc);
571   
572    // -- validation code for: _xpos
573  160 fieldValidator = new org.exolab.castor.xml.FieldValidator();
574    { // -- local scope
575  160 org.exolab.castor.xml.validators.IntValidator typeValidator;
576  160 typeValidator = new org.exolab.castor.xml.validators.IntValidator();
577  160 fieldValidator.setValidator(typeValidator);
578  160 typeValidator.setMinInclusive(-2147483648);
579  160 typeValidator.setMaxInclusive(2147483647);
580    }
581  160 desc.setValidator(fieldValidator);
582    // -- _ypos
583  160 desc = new org.exolab.castor.xml.util.XMLFieldDescriptorImpl(
584    java.lang.Integer.TYPE, "_ypos", "ypos",
585    org.exolab.castor.xml.NodeType.Attribute);
586  160 handler = new org.exolab.castor.xml.XMLFieldHandler()
587    {
 
588  40 toggle public java.lang.Object getValue(java.lang.Object object)
589    throws IllegalStateException
590    {
591  40 StructureState target = (StructureState) object;
592  40 if (!target.hasYpos())
593    {
594  0 return null;
595    }
596  40 return new java.lang.Integer(target.getYpos());
597    }
598   
 
599  120 toggle public void setValue(java.lang.Object object, java.lang.Object value)
600    throws IllegalStateException, IllegalArgumentException
601    {
602  120 try
603    {
604  120 StructureState target = (StructureState) object;
605    // if null, use delete method for optional primitives
606  120 if (value == null)
607    {
608  0 target.deleteYpos();
609  0 return;
610    }
611  120 target.setYpos(((java.lang.Integer) value).intValue());
612    } catch (java.lang.Exception ex)
613    {
614  0 throw new IllegalStateException(ex.toString());
615    }
616    }
617   
 
618  0 toggle public java.lang.Object newInstance(java.lang.Object parent)
619    {
620  0 return null;
621    }
622    };
623  160 desc.setHandler(handler);
624  160 desc.setMultivalued(false);
625  160 addFieldDescriptor(desc);
626   
627    // -- validation code for: _ypos
628  160 fieldValidator = new org.exolab.castor.xml.FieldValidator();
629    { // -- local scope
630  160 org.exolab.castor.xml.validators.IntValidator typeValidator;
631  160 typeValidator = new org.exolab.castor.xml.validators.IntValidator();
632  160 fieldValidator.setValidator(typeValidator);
633  160 typeValidator.setMinInclusive(-2147483648);
634  160 typeValidator.setMaxInclusive(2147483647);
635    }
636  160 desc.setValidator(fieldValidator);
637    // -- initialize element descriptors
638   
639    }
640   
641    // -----------/
642    // - Methods -/
643    // -----------/
644   
645    /**
646    * Method getAccessMode.
647    *
648    * @return the access mode specified for this class.
649    */
 
650  0 toggle public org.exolab.castor.mapping.AccessMode getAccessMode()
651    {
652  0 return null;
653    }
654   
655    /**
656    * Method getIdentity.
657    *
658    * @return the identity field, null if this class has no identity.
659    */
 
660  1120 toggle public org.exolab.castor.mapping.FieldDescriptor getIdentity()
661    {
662  1120 return super.getIdentity();
663    }
664   
665    /**
666    * Method getJavaClass.
667    *
668    * @return the Java class represented by this descriptor.
669    */
 
670  140 toggle public java.lang.Class getJavaClass()
671    {
672  140 return jalview.schemabinding.version2.StructureState.class;
673    }
674   
675    /**
676    * Method getNameSpacePrefix.
677    *
678    * @return the namespace prefix to use when marshaling as XML.
679    */
 
680  20 toggle public java.lang.String getNameSpacePrefix()
681    {
682  20 return _nsPrefix;
683    }
684   
685    /**
686    * Method getNameSpaceURI.
687    *
688    * @return the namespace URI used when marshaling and unmarshaling as XML.
689    */
 
690  0 toggle public java.lang.String getNameSpaceURI()
691    {
692  0 return _nsURI;
693    }
694   
695    /**
696    * Method getValidator.
697    *
698    * @return a specific validator for the class described by this
699    * ClassDescriptor.
700    */
 
701  20 toggle public org.exolab.castor.xml.TypeValidator getValidator()
702    {
703  20 return this;
704    }
705   
706    /**
707    * Method getXMLName.
708    *
709    * @return the XML Name for the Class being described.
710    */
 
711  320 toggle public java.lang.String getXMLName()
712    {
713  320 return _xmlName;
714    }
715   
716    /**
717    * Method isElementDefinition.
718    *
719    * @return true if XML schema definition of this Class is that of a global
720    * element or element with anonymous type definition.
721    */
 
722  0 toggle public boolean isElementDefinition()
723    {
724  0 return _elementDefinition;
725    }
726   
727    }