setHandler(FieldHandler handler) Set the FieldHandler for the field being described by this FieldDescriptor.
final public void
setIdentity(boolean identity) Set wether the described field is part of the identity of the class it belongs to.
final public 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.
final public void
setMultivalued(boolean multivalued) Set wheter the object described by this descriptor is multivalued or not.
final public void
setRequired(boolean required) Set whether or not the described field is required.
final public void
setTransient(boolean isTransient) Sets whether or not the describled field is 'transient'.
Set the FieldHandler for the field being described by this FieldDescriptor.
Parameters: handler - The FieldHandler for the field being described.
setIdentity
final public void setIdentity(boolean identity)(Code)
Set wether the described field is part of the identity of the class it belongs to.
Parameters: identity - true if field is part of the classes identity.
setImmutable
final public void setImmutable(boolean immutable)(Code)
Set the immutable flag which indicates that changes to this Field result in a
new Object to be created, such as java.lang.String. It serves to identify fields
which should not be constructed until all the data is available.
Parameters: immutable - Flag which if true indicates that the field is immutable.
setMultivalued
final public void setMultivalued(boolean multivalued)(Code)
Set wheter the object described by this descriptor is multivalued or not.
Parameters: multivalued - True if the object described by this descriptor is multivalued.
setRequired
final public void setRequired(boolean required)(Code)
Set whether or not the described field is required.
Parameters: required - The flag indicating whether or not the described field is required.
setTransient
final public void setTransient(boolean isTransient)(Code)
Sets whether or not the describled field is 'transient'.
Parameters: isTransient - The flag indicating if the described field is 'transient'.