org.exolab.castor.mapping.loader
Class FieldDescriptorImpl
java.lang.Object
org.exolab.castor.mapping.loader.FieldDescriptorImpl
- FieldDescriptor
public class FieldDescriptorImpl
extends java.lang.Object
A basic field descriptor implementation. Engines will extend this
class to provide additional functionality.
$Revision: 1.1.1.1 $ $Date: 2003/03/03 07:08:29 $
FieldDescriptorImpl
public FieldDescriptorImpl(String fieldName,
TypeInfo typeInfo,
FieldHandler handler,
boolean trans)
throws MappingException
Constructs a new field descriptor.
fieldName
- The field nametypeInfo
- The field type informationhandler
- The field handler (may be null)trans
- True if the field is transient
FieldDescriptorImpl
protected FieldDescriptorImpl(FieldDescriptor fieldDesc)
Constructor used by derived clases.
FieldDescriptorImpl
protected FieldDescriptorImpl(FieldDescriptorImpl fieldDesc)
Constructor used by derived clases.
getConvertor
public TypeConvertor getConvertor()
Returns the convertor from the field type to an external type.
- Convertor from field type
getConvertorParam
public String getConvertorParam()
Returns the convertor parameter.
setClassDescriptor
(package private) void setClassDescriptor(ClassDescriptor clsDesc)
setHandler
(package private) void setHandler(FieldHandler handler)
setRequired
(package private) void setRequired(boolean required)
toString
public String toString()
Intalio Inc. (C) 1999-2003. All rights reserved http://www.intalio.com