org.exolab.castor.mapping.loader
public class ClassDescriptorImpl extends Object implements ClassDescriptor
Version: $Revision: 6230 $ $Date: 2006-01-07 15:48:31 -0700 (Sat, 07 Jan 2006) $
Field Summary | |
---|---|
protected FieldDescriptor[] | _fields
The fields described for this class. |
protected FieldDescriptor[] | _identities
The field of the identity for this class. |
Constructor Summary | |
---|---|
ClassDescriptorImpl(ClassDescriptorImpl clsDesc)
Constructs a new descriptor for the specified class. | |
ClassDescriptorImpl(ClassMapping map, Class javaClass, FieldDescriptor[] fields, FieldDescriptor[] identities, ClassDescriptor extend, ClassDescriptor depend) | |
protected | ClassDescriptorImpl(Class javaClass)
Constructor used by derived classes. |
Method Summary | |
---|---|
void | addExtendedBy(ClassDescriptor classDesc) |
void | checkValidity(Object object)
Checks the object validity. |
AccessMode | getAccessMode() |
ClassDescriptor | getDepends() |
Collection | getExtendedBy()
Returns a collection of class descriptors that extend this class descriptor.
|
ClassDescriptor | getExtends() |
FieldDescriptor[] | getFields() |
FieldDescriptor[] | getIdentities() |
FieldDescriptor | getIdentity() |
Class | getJavaClass() |
ClassMapping | getMapping() |
boolean | isExtended() |
boolean | isExtending() |
String | toString() |
Throws: MappingException The extended descriptor does not match a parent class of this type
Parameters: object The object
Throws: ValidityException The object is invalid, a required is null, or any other validity violation IllegalStateException The Java object has changed and is no longer supported by this handler, or the handler is not compatiable with the Java object
Returns: A collection of class descriptors.