org.exolab.castor.tools

Class MappingToolMappingLoader

Implemented Interfaces:
MappingLoader

public final class MappingToolMappingLoader
extends AbstractMappingLoader

Extend mapping loader to give us access to the findAccessor method.

Nested Class Summary

Nested classes/interfaces inherited from class org.exolab.castor.mapping.loader.AbstractMappingLoader

AbstractMappingLoader.TypeInfoReference

Field Summary

Fields inherited from class org.exolab.castor.mapping.loader.AbstractMappingLoader

EMPTY_ARGS, NO_DESCRIPTOR, STRING_ARG, VALUE_OF

Constructor Summary

MappingToolMappingLoader()

Method Summary

(package private) boolean
canFindAccessors(Class clazz, String fieldName, Class type)
BindingType
getBindingType()
(package private) boolean
returnsArray(Class clazz, String fieldName, Class type)
Returns true if the get method returns an array.

Methods inherited from class org.exolab.castor.mapping.loader.AbstractMappingLoader

createDescriptor, createFieldDesc, createFieldHandler, findAccessor, getIdentityColumnNames, getSourceType, getTypeInfo, isPrimitive, loadMappingInternal, resolveRelations, resolveType

Methods inherited from class org.exolab.castor.mapping.loader.AbstractMappingLoader2

addDescriptor, clear, descriptorIterator, getClassLoader, getDescriptor, isAllowRedefinition, loadMapping, loadMappingInternal, setAllowRedefinitions, setClassLoader

Constructor Details

MappingToolMappingLoader

(package private)  MappingToolMappingLoader()

Method Details

canFindAccessors

(package private)  boolean canFindAccessors(Class clazz,
                                            String fieldName,
                                            Class type)

getBindingType

public BindingType getBindingType()
Specified by:
getBindingType in interface MappingLoader

returnsArray

(package private)  boolean returnsArray(Class clazz,
                                        String fieldName,
                                        Class type)
Returns true if the get method returns an array. This method is used for greater compatability with generated descriptors.
Returns:
if get method returns an array.

Intalio Inc. (C) 1999-2006. All rights reserved http://www.intalio.com