org.exolab.castor.mapping
public interface FieldDescriptor
Version: $Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:26 $
See Also: FieldHandler
Method Summary | |
---|---|
ClassDescriptor | getClassDescriptor()
Returns the class descriptor related to the field type. |
ClassDescriptor | getContainingClassDescriptor() |
String | getFieldName()
Returns the name of the field.
|
Class | getFieldType()
Returns the Java type of the field.
|
FieldHandler | getHandler()
Returns the handler of the field. |
boolean | isImmutable()
Returns true if the field type is immutable.
|
boolean | isMultivalued()
Returns true if the field is multi valued (a collection).
|
boolean | isRequired()
Returns true if the field type is required.
|
boolean | isTransient()
Returns true if the field is transient. |
void | setContainingClassDescriptor(ClassDescriptor contClsDesc)
Set the class which contains this field |
Returns: The class descriptor of the field type, or null
Returns: the class which contains this field
Returns: Field name
Returns: Field type
Returns: The field handler
Returns: True if the field type is immutable
Returns: True if the field is multi valued
Returns: True if the field type is required
Returns: True if transient field