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, 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
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-2003. All rights reserved http://www.intalio.com