org.exolab.castor.mapping
Interface ClassDescriptor

All Known Subinterfaces:
XMLClassDescriptor
All Known Implementing Classes:
AutomaticNamingTypeDescriptor, BaseDescriptor, BindingDescriptor, BindingTypeDescriptor, BindXmlAutoNamingTypeDescriptor, BindXmlDescriptor, BindXmlNodeTypeDescriptor, BugFixDescriptor, CacheTypeMappingDescriptor, CallMethodDescriptor, CategoryTypeDescriptor, CenturyDescriptor, ClassChoiceDescriptor, ClassDescriptorImpl, ClassMappingAccessTypeDescriptor, ClassMappingDescriptor, ClassTypeDescriptor, CollectionTypeDescriptor, ComponentBindingTypeChoiceDescriptor, ComponentBindingTypeDescriptor, ConfigurationDescriptor, ConfigurationTypeDescriptor, ContainerDescriptor, ContentMemberTypeDescriptor, CustomTestDescriptor, CustomTestTypeDescriptor, DateClassDescriptor, DateDescriptor, DateTimeDescriptor, DurationDescriptor, EnumBindingTypeDescriptor, EnumClassNameDescriptor, EnumerationDescriptor, EnumMemberDescriptor, ExcludeDescriptor, ExcludesDescriptor, ExpectedSourcesDescriptor, FailureDescriptor, FailureStepTypeDescriptor, FailureTypeDescriptor, FieldMappingCollectionTypeDescriptor, FieldMappingDescriptor, FieldTypeCollectionTypeDescriptor, FieldTypeDescriptor, FieldTypeVisibilityTypeDescriptor, ForceDescriptor, ForcesDescriptor, GDayDescriptor, GMonthDayDescriptor, GMonthDescriptor, GYearDescriptor, GYearMonthDescriptor, IncludeDescriptor, IncludeTypeDescriptor, InterfaceDescriptor, IntrospectedXMLClassDescriptor, KeyGeneratorDefDescriptor, LdapDescriptor, ListClassDescriptor, ListenerDescriptor, ListenerTypeDescriptor, LocaleDescriptor, MappingRootDescriptor, MapToDescriptor, MarshalDescriptor, MarshalFramework.InternalXMLClassDescriptor, MarshallingTestDescriptor, MethodsDescriptor, MonthDescriptor, NamedQueryDescriptor, NamingTypeDescriptor, NamingXMLTypeDescriptor, OnlySourceGenerationTestDescriptor, PackageTypeChoiceDescriptor, PackageTypeDescriptor, ParamDescriptor, PrimitivesClassDescriptor, PropertyDescriptor, PropertyTypeDescriptor, QueryHintDescriptor, RecurringDurationDescriptor, Root_ObjectDescriptor, RootArrayDescriptor, RootTypeDescriptor, SchemaDifferencesDescriptor, SchemaDifferencesTypeDescriptor, SchemaTestDescriptor, SourceGeneratorTestDescriptor, SQLDateClassDescriptor, SqlDescriptor, SqlDirtyTypeDescriptor, SQLTimeClassDescriptor, SQLTimestampClassDescriptor, StringClassDescriptor, StringTypeDescriptor, TestDescriptorChoiceDescriptor, TestDescriptorDescriptor, TimeDescriptor, TimeDurationDescriptor, TimePeriodDescriptor, TypeTypeDescriptor, UnitTestCaseChoiceDescriptor, UnitTestCaseDescriptor, UnmarshalDescriptor, ValueDescriptor, VectorClassDescriptor, VisibilityTypeDescriptor, 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: 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

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


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