org.exolab.castor.mapping

Interface ClassDescriptor

Known Subinterfaces:
XMLClassDescriptor
Known Implementing Classes:
AccessTypeDescriptor, BaseDescriptor, BindingDescriptor, BindingTypeDescriptor, BindXmlAutoNamingTypeDescriptor, BindXmlDescriptor, BindXmlNodeTypeDescriptor, CacheTypeMappingDescriptor, CenturyDescriptor, ClassDescriptorImpl, ClassMappingDescriptor, ClassTypeDescriptor, CollectionTypeDescriptor, ComponentBindingTypeChoiceDescriptor, ComponentBindingTypeDescriptor, ContainerDescriptor, DatabaseDescriptor, DataSourceDescriptor, DateClassDescriptor, DateDescriptor, DirtyTypeDescriptor, DriverDescriptor, DurationDescriptor, FieldMappingDescriptor, FieldTypeCollectionTypeDescriptor, FieldTypeDescriptor, GDayDescriptor, GMonthDayDescriptor, GMonthDescriptor, GYearDescriptor, GYearMonthDescriptor, IncludeDescriptor, IncludeTypeDescriptor, InterfaceDescriptor, IntrospectedXMLClassDescriptor, JDOClassDescriptor, JndiDescriptor, KeyGeneratorDefDescriptor, LdapDescriptor, ListClassDescriptor, MappingDescriptor, MappingRootDescriptor, MapToDescriptor, MarshalFramework.InternalXMLClassDescriptor, MonthDescriptor, NamingTypeDescriptor, NamingXMLTypeDescriptor, PackageTypeChoiceDescriptor, PackageTypeDescriptor, ParamDescriptor, ParamDescriptor, PathTypeDescriptor, RecurringDurationDescriptor, RootArrayDescriptor, SqlDescriptor, StringClassDescriptor, TimeDescriptor, TimeDurationDescriptor, TimePeriodDescriptor, TypeTypeDescriptor, VectorClassDescriptor, XMLClassDescriptorAdapter, XMLClassDescriptorImpl, YearDescriptor

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

AccessMode
getAccessMode()
Returns the access mode specified for this class.
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.
Class
getJavaClass()
Returns the Java class represented by this descriptor.

Method Details

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