/* * This class was automatically generated with * Castor 1.0.5, using an XML * Schema. * $Id$ */ package org.oagis; /** * Class ExampleTypeDescriptor. * * @version $Revision$ $Date$ */ public class ExampleTypeDescriptor extends org.oagis.BusinessObjectDocumentTypeDescriptor { //--------------------------/ //- Class/Member Variables -/ //--------------------------/ /** * Field elementDefinition */ private boolean elementDefinition; /** * Field nsPrefix */ private java.lang.String nsPrefix; /** * Field nsURI */ private java.lang.String nsURI; /** * Field xmlName */ private java.lang.String xmlName; /** * Field identity */ private org.exolab.castor.xml.XMLFieldDescriptor identity; //----------------/ //- Constructors -/ //----------------/ public ExampleTypeDescriptor() { super(); setExtendsWithoutFlatten(new org.oagis.BusinessObjectDocumentTypeDescriptor()); nsURI = "http://www.openapplications.org/oagis/9"; xmlName = "ExampleType"; elementDefinition = false; } //-- org.oagis.ExampleTypeDescriptor() //-----------/ //- Methods -/ //-----------/ /** * Method getAccessMode * * * * @return the access mode specified for this class. */ public org.exolab.castor.mapping.AccessMode getAccessMode() { return null; } //-- org.exolab.castor.mapping.AccessMode getAccessMode() /** * Method getExtends * * * * @return the class descriptor of the class extended by this * class. */ public org.exolab.castor.mapping.ClassDescriptor getExtends() { return super.getExtends(); } //-- org.exolab.castor.mapping.ClassDescriptor getExtends() /** * Method getIdentity * * * * @return the identity field, null if this class has no * identity. */ public org.exolab.castor.mapping.FieldDescriptor getIdentity() { if (identity == null) { return super.getIdentity(); } return identity; } //-- org.exolab.castor.mapping.FieldDescriptor getIdentity() /** * Method getJavaClass * * * * @return the Java class represented by this descriptor. */ public java.lang.Class getJavaClass() { return org.oagis.ExampleType.class; } //-- java.lang.Class getJavaClass() /** * Method getNameSpacePrefix * * * * @return the namespace prefix to use when marshalling as XML. */ public java.lang.String getNameSpacePrefix() { return nsPrefix; } //-- java.lang.String getNameSpacePrefix() /** * Method getNameSpaceURI * * * * @return the namespace URI used when marshalling and * unmarshalling as XML. */ public java.lang.String getNameSpaceURI() { return nsURI; } //-- java.lang.String getNameSpaceURI() /** * Method getValidator * * * * @return a specific validator for the class described by this * ClassDescriptor. */ public org.exolab.castor.xml.TypeValidator getValidator() { return this; } //-- org.exolab.castor.xml.TypeValidator getValidator() /** * Method getXMLName * * * * @return the XML Name for the Class being described. */ public java.lang.String getXMLName() { return xmlName; } //-- java.lang.String getXMLName() /** * Method isElementDefinition * * * * @return true if XML schema definition of this Class is that * of a global * element or element with anonymous type definition. */ public boolean isElementDefinition() { return elementDefinition; } //-- boolean isElementDefinition() }