uk.ac.essex.common.action.xml.descriptors
Class ActionDescriptor

java.lang.Object
  extended by org.exolab.castor.xml.Validator
      extended by org.exolab.castor.xml.util.XMLClassDescriptorImpl
          extended by uk.ac.essex.common.action.xml.descriptors.ActionTypeDescriptor
              extended by uk.ac.essex.common.action.xml.descriptors.ActionDescriptor
All Implemented Interfaces:
org.castor.core.nature.NatureExtendable, org.castor.core.nature.PropertyHolder, org.exolab.castor.mapping.ClassDescriptor, org.exolab.castor.xml.TypeValidator, org.exolab.castor.xml.validators.ClassValidator, org.exolab.castor.xml.XMLClassDescriptor

public class ActionDescriptor
extends ActionTypeDescriptor

Class ActionDescriptor.


Field Summary
 
Fields inherited from class org.exolab.castor.xml.Validator
resourceBundle
 
Constructor Summary
ActionDescriptor()
           
 
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, addNature, addSequenceElement, canAccept, checkDescriptorForCorrectOrderWithinSequence, contains, getAttributeDescriptors, getContentDescriptor, getElementDescriptors, getExtends, getFieldDescriptor, getFields, getProperty, getSubstitutes, hasContainerFields, hasNature, isChoice, removeFieldDescriptor, setCompositorAsAll, setCompositorAsChoice, setCompositorAsSequence, setElementDefinition, setExtends, setExtendsWithoutFlatten, setIdentity, setIntrospected, setJavaClass, setNameSpacePrefix, setNameSpaceURI, setProperty, setSubstitutes, setXMLName, sortDescriptors, toString, validate, validate
 
Methods inherited from class org.exolab.castor.xml.Validator
checkUnresolvedIdrefs
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ActionDescriptor

public ActionDescriptor()
Method Detail

getAccessMode

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

Overrides:
getAccessMode in class ActionTypeDescriptor
Returns:
the access mode specified for this class.

getIdentity

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

Specified by:
getIdentity in interface org.exolab.castor.mapping.ClassDescriptor
Overrides:
getIdentity in class ActionTypeDescriptor
Returns:
the identity field, null if this class has no identity.

getJavaClass

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

Specified by:
getJavaClass in interface org.exolab.castor.mapping.ClassDescriptor
Overrides:
getJavaClass in class ActionTypeDescriptor
Returns:
the Java class represented by this descriptor.

getNameSpacePrefix

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

Specified by:
getNameSpacePrefix in interface org.exolab.castor.xml.XMLClassDescriptor
Overrides:
getNameSpacePrefix in class ActionTypeDescriptor
Returns:
the namespace prefix to use when marshaling as XML.

getNameSpaceURI

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

Specified by:
getNameSpaceURI in interface org.exolab.castor.xml.XMLClassDescriptor
Overrides:
getNameSpaceURI in class ActionTypeDescriptor
Returns:
the namespace URI used when marshaling and unmarshaling as XML.

getValidator

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

Specified by:
getValidator in interface org.exolab.castor.xml.XMLClassDescriptor
Overrides:
getValidator in class ActionTypeDescriptor
Returns:
a specific validator for the class described by this ClassDescriptor.

getXMLName

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

Specified by:
getXMLName in interface org.exolab.castor.xml.XMLClassDescriptor
Overrides:
getXMLName in class ActionTypeDescriptor
Returns:
the XML Name for the Class being described.

isElementDefinition

public boolean isElementDefinition()
Method isElementDefinition.

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