Public Member Functions | Protected Member Functions

org.exolab.castor.mapping.loader.DelegateFieldDescriptor Class Reference

Inheritance diagram for org.exolab.castor.mapping.loader.DelegateFieldDescriptor:
org.exolab.castor.mapping.FieldDescriptor

List of all members.

Public Member Functions

void setContainingClassDescriptor (ClassDescriptor contClsDesc)
ClassDescriptor getContainingClassDescriptor ()
FieldHandler getHandler ()
String getFieldName ()
Class getFieldType ()
boolean isRequired ()
boolean isImmutable ()
boolean isTransient ()
boolean isMultivalued ()
ClassDescriptor getClassDescriptor ()

Protected Member Functions

 DelegateFieldDescriptor (FieldDescriptor desc)

Detailed Description

Author:
Assaf Arkin
Version:
Revision:
1.1.1.1
Date:
2003/03/03 07:08:29

Constructor & Destructor Documentation

org.exolab.castor.mapping.loader.DelegateFieldDescriptor.DelegateFieldDescriptor ( FieldDescriptor  desc  )  [protected]

Member Function Documentation

ClassDescriptor org.exolab.castor.mapping.loader.DelegateFieldDescriptor.getClassDescriptor (  ) 

Returns the class descriptor related to the field type. If the field type is a class for which a descriptor exists, this descriptor is returned. If the field type is a class for which no mapping is provided, null is returned.

Returns:
The class descriptor of the field type, or null

Implements org.exolab.castor.mapping.FieldDescriptor.

References org.exolab.castor.mapping.FieldDescriptor.getClassDescriptor().

ClassDescriptor org.exolab.castor.mapping.loader.DelegateFieldDescriptor.getContainingClassDescriptor (  ) 
String org.exolab.castor.mapping.loader.DelegateFieldDescriptor.getFieldName (  ) 

Returns the name of the field.

Returns:
Field name

Implements org.exolab.castor.mapping.FieldDescriptor.

References org.exolab.castor.mapping.FieldDescriptor.getFieldName().

Class org.exolab.castor.mapping.loader.DelegateFieldDescriptor.getFieldType (  ) 

Returns the Java type of the field.

Returns:
Field type

Implements org.exolab.castor.mapping.FieldDescriptor.

References org.exolab.castor.mapping.FieldDescriptor.getFieldType().

FieldHandler org.exolab.castor.mapping.loader.DelegateFieldDescriptor.getHandler (  ) 

Returns the handler of the field. In order to persist or marshal a field descriptor will be associated with a handler.

Returns:
The field handler

Implements org.exolab.castor.mapping.FieldDescriptor.

References org.exolab.castor.mapping.FieldDescriptor.getHandler().

boolean org.exolab.castor.mapping.loader.DelegateFieldDescriptor.isImmutable (  ) 

Returns true if the field type is immutable.

Returns:
True if the field type is immutable

Implements org.exolab.castor.mapping.FieldDescriptor.

References org.exolab.castor.mapping.FieldDescriptor.isImmutable().

boolean org.exolab.castor.mapping.loader.DelegateFieldDescriptor.isMultivalued (  ) 

Returns true if the field is multi valued (a collection).

Returns:
True if the field is multi valued

Implements org.exolab.castor.mapping.FieldDescriptor.

References org.exolab.castor.mapping.FieldDescriptor.isMultivalued().

boolean org.exolab.castor.mapping.loader.DelegateFieldDescriptor.isRequired (  ) 

Returns true if the field type is required.

Returns:
True if the field type is required

Implements org.exolab.castor.mapping.FieldDescriptor.

References org.exolab.castor.mapping.FieldDescriptor.isRequired().

boolean org.exolab.castor.mapping.loader.DelegateFieldDescriptor.isTransient (  ) 

Returns true if the field is transient. Transient fields are never persisted or marshalled.

Returns:
True if transient field

Implements org.exolab.castor.mapping.FieldDescriptor.

References org.exolab.castor.mapping.FieldDescriptor.isTransient().

void org.exolab.castor.mapping.loader.DelegateFieldDescriptor.setContainingClassDescriptor ( ClassDescriptor  contClsDesc  ) 

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties