org.exolab.castor.mapping
Interface ClassDescriptor

All Known Subinterfaces:
XMLClassDescriptor
All Known Implementing Classes:
AccessTypeDescriptor, BaseDescriptor, BindingDescriptor, BindingTypeDescriptor, BindXmlAutoNamingTypeDescriptor, BindXmlDescriptor, BindXmlNodeTypeDescriptor, CacheTypeMappingDescriptor, CenturyDescriptor, ClassDescriptorImpl, ClassMappingDescriptor, ClassTypeDescriptor, CollectionTypeDescriptor, ComponentBindingTypeChoiceDescriptor, ComponentBindingTypeDescriptor, ContainerDescriptor, DatabaseChoiceDescriptor, DatabaseDescriptor, DataSourceDescriptor, DateClassDescriptor, DateDescriptor, DirtyTypeDescriptor, DriverDescriptor, DurationDescriptor, EnumerationDescriptor, FieldMappingDescriptor, FieldTypeCollectionTypeDescriptor, FieldTypeDescriptor, GDayDescriptor, GMonthDayDescriptor, GMonthDescriptor, GYearDescriptor, GYearMonthDescriptor, IncludeDescriptor, IncludeTypeDescriptor, InterfaceDescriptor, IntrospectedXMLClassDescriptor, JDOClassDescriptor, JdoConfDescriptor, JndiDescriptor, KeyGeneratorDefDescriptor, LdapDescriptor, ListClassDescriptor, LocaleDescriptor, MappingDescriptor, MappingRootDescriptor, MapToDescriptor, MarshalFramework.InternalXMLClassDescriptor, MonthDescriptor, NamingTypeDescriptor, NamingXMLTypeDescriptor, PackageTypeChoiceDescriptor, PackageTypeDescriptor, ParamDescriptor, ParamDescriptor, PathTypeDescriptor, PrimitivesClassDescriptor, PropertyDescriptor, PropertyTypeDescriptor, RecurringDurationDescriptor, RootArrayDescriptor, SQLDateClassDescriptor, SqlDescriptor, SQLTimeClassDescriptor, SQLTimestampClassDescriptor, StringClassDescriptor, TimeDescriptor, TimeDurationDescriptor, TimePeriodDescriptor, TransactionDemarcationDescriptor, TransactionManagerDescriptor, 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.
 java.lang.Class getJavaClass()
          Returns the Java class represented by this descriptor.
 

Method Detail

getJavaClass

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

Returns:
The Java class

getFields

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

Returns:
A list of fields

getExtends

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

Returns:
The extended class descriptor

getIdentity

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

Returns:
The identity field

getAccessMode

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

Returns:
The access mode


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