org.exolab.castor.mapping

Interface ClassDescriptor

public interface ClassDescriptor

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

Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:26 $

Author: Assaf Arkin

See Also: FieldDescriptor

Method Summary
AccessModegetAccessMode()
Returns the access mode specified for this class.
ClassDescriptorgetExtends()
Returns the class descriptor of the class extended by this class.
FieldDescriptor[]getFields()
Returns a list of fields represented by this descriptor.
FieldDescriptorgetIdentity()
Returns the identity field, null if this class has no identity.
ClassgetJavaClass()
Returns the Java class represented by this descriptor.

Method Detail

getAccessMode

public AccessMode getAccessMode()
Returns the access mode specified for this class.

Returns: The access mode

getExtends

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

Returns: The extended class descriptor

getFields

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

Returns: A list of fields

getIdentity

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

Returns: The identity field

getJavaClass

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

Returns: The Java class

Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com