public final class MappingToolMappingLoader extends Object
Constructor and Description |
---|
MappingToolMappingLoader(JavaNaming javaNaming)
A MappingToolMappingLoader needs a javaNaming to be set.
|
Modifier and Type | Method and Description |
---|---|
boolean |
canFindAccessors(Class clazz,
String fieldName,
Class type)
Checks if any accessor for a certain field exists.
|
boolean |
returnsArray(Class clazz,
String fieldName,
Class type)
Returns true if the get method returns an array.
|
public MappingToolMappingLoader(JavaNaming javaNaming)
javaNaming
- the JavaNaming
implementation to usepublic boolean returnsArray(Class clazz, String fieldName, 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(Class clazz, String fieldName, Class type)
clazz
- the Class to search infieldName
- the field to search an accessor fortype
- the return type the accessor should haveCopyright © 2019. All rights reserved.