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
,FieldDescriptor
,FieldHandlerDefDescriptor
,FieldMappingCollectionTypeDescriptor
,FieldMappingDescriptor
,FieldTypeCollectionTypeDescriptor
,FieldTypeDescriptor
,FieldTypeVisibilityTypeDescriptor
,ForcesDescriptor
,GDayDescriptor
,GMonthDayDescriptor
,GMonthDescriptor
,GYearDescriptor
,GYearMonthDescriptor
,IncludeDescriptor
,IncludeTypeDescriptor
,InterfaceDescriptor
,KeyGeneratorDefDescriptor
,LdapDescriptor
,ListClassDescriptor
,LocaleDescriptor
,ManyToManyDescriptor
,MappingRootDescriptor
,MapToDescriptor
,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
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:
-
Method Summary
Modifier and TypeMethodDescriptionReturns the class descriptor of the class extended by this class.Returns a list of fields represented by this descriptor.Returns the identity field, null if this class has no identity.Class<?>
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 Details
-
getJavaClass
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
-