uk.ac.vamsas.objects.core.descriptors
Class PropertyDescriptor

java.lang.Object
  extended byorg.exolab.castor.xml.Validator
      extended byorg.exolab.castor.xml.util.XMLClassDescriptorImpl
          extended byuk.ac.vamsas.objects.core.descriptors.PropertyDescriptor
All Implemented Interfaces:
org.exolab.castor.mapping.ClassDescriptor, org.exolab.castor.xml.ClassValidator, org.exolab.castor.xml.TypeValidator, org.exolab.castor.xml.XMLClassDescriptor

public class PropertyDescriptor
extends org.exolab.castor.xml.util.XMLClassDescriptorImpl

Class PropertyDescriptor.

Version:
$Revision$ $Date$

Constructor Summary
PropertyDescriptor()
           
 
Method Summary
 org.exolab.castor.mapping.AccessMode getAccessMode()
          Method getAccessMode.
 org.exolab.castor.mapping.FieldDescriptor getIdentity()
          Method getIdentity.
 java.lang.Class getJavaClass()
          Method getJavaClass.
 java.lang.String getNameSpacePrefix()
          Method getNameSpacePrefix.
 java.lang.String getNameSpaceURI()
          Method getNameSpaceURI.
 org.exolab.castor.xml.TypeValidator getValidator()
          Method getValidator.
 java.lang.String getXMLName()
          Method getXMLName.
 boolean isElementDefinition()
          Method isElementDefinition.
 
Methods inherited from class org.exolab.castor.xml.util.XMLClassDescriptorImpl
addFieldDescriptor, canAccept, contains, getAttributeDescriptors, getContentDescriptor, getElementDescriptors, getExtends, getFieldDescriptor, getFields, hasContainerFields, removeFieldDescriptor, setCompositorAsAll, setCompositorAsChoice, setCompositorAsSequence, setElementDefinition, setExtends, setExtendsWithoutFlatten, setIdentity, setIntrospected, setJavaClass, setNameSpacePrefix, setNameSpaceURI, setXMLName, sortDescriptors, toString, toXMLName, validate, validate
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PropertyDescriptor

public PropertyDescriptor()
Method Detail

getAccessMode

public org.exolab.castor.mapping.AccessMode getAccessMode()
Method getAccessMode.

Returns:
the access mode specified for this class.

getIdentity

public org.exolab.castor.mapping.FieldDescriptor getIdentity()
Method getIdentity.

Returns:
the identity field, null if this class has no identity.

getJavaClass

public java.lang.Class getJavaClass()
Method getJavaClass.

Returns:
the Java class represented by this descriptor.

getNameSpacePrefix

public java.lang.String getNameSpacePrefix()
Method getNameSpacePrefix.

Returns:
the namespace prefix to use when marshaling as XML.

getNameSpaceURI

public java.lang.String getNameSpaceURI()
Method getNameSpaceURI.

Returns:
the namespace URI used when marshaling and unmarshaling as XML.

getValidator

public org.exolab.castor.xml.TypeValidator getValidator()
Method getValidator.

Returns:
a specific validator for the class described by this ClassDescriptor.

getXMLName

public java.lang.String getXMLName()
Method getXMLName.

Returns:
the XML Name for the Class being described.

isElementDefinition

public boolean isElementDefinition()
Method isElementDefinition.

Returns:
true if XML schema definition of this Class is that of a global element or element with anonymous type definition.