org.exolab.castor.mapping
public interface FieldDescriptor
Version: $Revision: 6216 $ $Date: 2005-12-06 14:55:28 -0700 (Tue, 06 Dec 2005) $
Method Summary | |
---|---|
ClassDescriptor | getClassDescriptor()
Returns the class descriptor related to the field type. |
ClassDescriptor | getContainingClassDescriptor()
Get the class descriptor which contains this field.
|
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 multivalued (a collection).
|
boolean | isRequired()
Returns true if the field type is required.
|
boolean | isTransient()
Returns true if the field is transient. |
void | setContainingClassDescriptor(ClassDescriptor parent)
Set the class descriptor which contains this field.
|
Returns: The class descriptor of the field type, or null.
Returns: The class descriptor 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 multivalued.
Returns: True if the field type is required.
Returns: True if transient field.
Parameters: parent The class descriptor which contains this field.