org.exolab.castor.mapping.loader
public abstract class AbstractFieldDescriptor extends Object implements FieldDescriptor
Method Summary | |
---|---|
ClassDescriptor | getClassDescriptor() |
ClassDescriptor | getContainingClassDescriptor() |
String | getFieldName() |
Class | getFieldType() |
FieldHandler | getHandler() |
boolean | isImmutable() |
boolean | isMultivalued() |
boolean | isRequired() |
boolean | isTransient() |
void | setClassDescriptor(ClassDescriptor classDescriptor)
Set the ClassDescriptor for the described field.
|
void | setContainingClassDescriptor(ClassDescriptor parent) |
void | setFieldName(String fieldName)
Set the name of the field.
|
void | setFieldType(Class fieldType)
Set the type of the field.
|
void | setHandler(FieldHandler handler)
Set the FieldHandler for the field being described by this FieldDescriptor.
|
void | setImmutable(boolean immutable)
Set the immutable flag which indicates that changes to this Field result in a
new Object to be created, such as java.lang.String. |
void | setMultivalued(boolean multivalued)
Set wheter the object described by this descriptor is multivalued or not.
|
void | setRequired(boolean required)
Set whether or not the described field is required.
|
void | setTransient(boolean isTransient)
Sets whether or not the describled field is 'transient'.
|
See Also:
{@inheritDoc }
See Also:
{@inheritDoc }
See Also:
{@inheritDoc }
See Also:
{@inheritDoc }
See Also:
{@inheritDoc }
See Also:
{@inheritDoc }
See Also:
{@inheritDoc }
See Also:
{@inheritDoc }
See Also:
{@inheritDoc }
Parameters: classDescriptor The ClassDescriptor for the described field.
See Also:
{@inheritDoc }
Parameters: fieldName Field name.
Parameters: fieldType Field type.
Parameters: handler The FieldHandler for the field being described.
Parameters: immutable Flag which if true indicates that the field is immutable.
Parameters: multivalued True if the object described by this descriptor is multivalued.
Parameters: required The flag indicating whether or not the described field is required.
Parameters: isTransient The flag indicating if the described field is 'transient'.