Package org.exolab.castor.mapping
Interface ClassDescriptor
-
- All Superinterfaces:
NatureExtendable
,PropertyHolder
- All Known Subinterfaces:
XMLClassDescriptor
- All Known Implementing Classes:
AutomaticNamingTypeDescriptor
,BaseDescriptor
,BaseDescriptor
,BindingDescriptor
,BindingTypeDescriptor
,BindXmlAutoNamingTypeDescriptor
,BindXmlDescriptor
,BindXmlNodeTypeDescriptor
,CacheTypeMappingDescriptor
,CenturyDescriptor
,ClassChoiceDescriptor
,ClassDescriptorImpl
,ClassMappingAccessTypeDescriptor
,ClassMappingDescriptor
,ClassTypeDescriptor
,ColumnDescriptor
,ComponentBindingTypeChoiceDescriptor
,ComponentBindingTypeDescriptor
,ContainerDescriptor
,ContentMemberTypeDescriptor
,DateClassDescriptor
,DateDescriptor
,DateTimeDescriptor
,DurationDescriptor
,EnumBindingTypeDescriptor
,EnumClassNameDescriptor
,EnumerationDescriptor
,EnumMemberDescriptor
,ExcludeDescriptor
,ExcludesDescriptor
,FieldHandlerDefDescriptor
,FieldMappingCollectionTypeDescriptor
,FieldMappingDescriptor
,FieldTypeCollectionTypeDescriptor
,FieldTypeDescriptor
,FieldTypeVisibilityTypeDescriptor
,ForcesDescriptor
,GDayDescriptor
,GMonthDayDescriptor
,GMonthDescriptor
,GYearDescriptor
,GYearMonthDescriptor
,IncludeDescriptor
,IncludeTypeDescriptor
,InterfaceDescriptor
,IntrospectedXMLClassDescriptor
,KeyGeneratorDefDescriptor
,LdapDescriptor
,ListClassDescriptor
,LocaleDescriptor
,ManyToManyDescriptor
,MappingRootDescriptor
,MapToDescriptor
,MarshalFramework.InternalXMLClassDescriptor
,MonthDescriptor
,NamedNativeQueryDescriptor
,NamedQueryDescriptor
,NamingTypeDescriptor
,NamingXMLTypeDescriptor
,OneToManyDescriptor
,OneToOneDescriptor
,PackageTypeChoiceDescriptor
,PackageTypeDescriptor
,ParamDescriptor
,PkTypeDescriptor
,PrimaryKeyDescriptor
,PrimitivesClassDescriptor
,PropertyDescriptor
,PropertyTypeDescriptor
,QueryHintDescriptor
,ReadonlyDirtyTypeDescriptor
,RecurringDurationDescriptor
,RootArrayDescriptor
,SQLDateClassDescriptor
,SqlDescriptor
,SqlDirtyTypeDescriptor
,SQLTimeClassDescriptor
,SQLTimestampClassDescriptor
,StringClassDescriptor
,TableAccessModeTypeDescriptor
,TableDescriptor
,TimeDescriptor
,TimeDurationDescriptor
,TimePeriodDescriptor
,VectorClassDescriptor
,VisibilityTypeDescriptor
,XMLClassDescriptorAdapter
,XMLClassDescriptorImpl
,YearDescriptor
public interface ClassDescriptor extends PropertyHolder
Describes the properties of a class and its fields. Implementations will extend this interface to provide additional properties.- Version:
- $Revision: 8725 $ $Date: 2003-03-03 00:05:44 -0700 (Mon, 03 Mar 2003) $
- Author:
- Assaf Arkin
- See Also:
FieldDescriptor
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.-
Methods inherited from interface org.castor.core.nature.NatureExtendable
addNature, hasNature
-
Methods inherited from interface org.castor.core.nature.PropertyHolder
getProperty, setProperty
-
-
-
-
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
-
-