org.exolab.castor.mapping
Interface ClassDescriptor

All Known Subinterfaces:
XMLClassDescriptor
All Known Implementing Classes:
BaseDescriptor, BaseDescriptor, ClassDescriptorImpl, MarshalFramework.InternalXMLClassDescriptor, XMLClassDescriptorImpl

public interface ClassDescriptor

Describes the properties of a class and its fields. Implementations will extend this inteface to provide additional properties.

Version:
$Revision: 6774 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
Author:
Assaf Arkin
See Also:
FieldDescriptor

Method Summary
 ClassDescriptor getExtends()
          Returns the class descriptor of the class extended by this class.
 FieldDescriptor[] getFields()
          Returns a list of fields represented by this descriptor.
 FieldDescriptor getIdentity()
          Returns the identity field, null if this class has no identity.
 java.lang.Class getJavaClass()
          Returns the Java class represented by this descriptor.
 

Method Detail

getJavaClass

public java.lang.Class getJavaClass()
Returns the Java class represented by this descriptor.

Returns:
The Java class

getFields

public FieldDescriptor[] getFields()
Returns a list of fields represented by this descriptor.

Returns:
A list of fields

getExtends

public ClassDescriptor getExtends()
Returns the class descriptor of the class extended by this class.

Returns:
The extended class descriptor

getIdentity

public FieldDescriptor getIdentity()
Returns the identity field, null if this class has no identity.

Returns:
The identity field


Copyright 2008 null. All Rights Reserved.