org.exolab.castor.tools
public final class MappingToolMappingLoader extends java.lang.Object
Constructor and Description |
---|
MappingToolMappingLoader(JavaNaming javaNaming)
A MappingToolMappingLoader needs a javaNaming to be set.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canFindAccessors(java.lang.Class clazz,
java.lang.String fieldName,
java.lang.Class type)
Checks if any accessor for a certain field exists.
|
boolean |
returnsArray(java.lang.Class clazz,
java.lang.String fieldName,
java.lang.Class type)
Returns true if the get method returns an array.
|
public MappingToolMappingLoader(JavaNaming javaNaming)
javaNaming
- the JavaNaming
implementation to usepublic boolean returnsArray(java.lang.Class clazz, java.lang.String fieldName, java.lang.Class type)
clazz
- the Class to find an accessor infieldName
- the field for which an accessor is soughttype
- the returning type of the accessorpublic boolean canFindAccessors(java.lang.Class clazz, java.lang.String fieldName, java.lang.Class type)
clazz
- the Class to search infieldName
- the field to search an accessor fortype
- the return type the accessor should haveIntalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com