velosurf.context
Class ExternalObjectWrapper.ClassInfo

java.lang.Object
  extended by velosurf.context.ExternalObjectWrapper.ClassInfo
Enclosing class:
ExternalObjectWrapper

private static class ExternalObjectWrapper.ClassInfo
extends java.lang.Object

This private class gathers informations on the class of wrapped objects.


Field Summary
(package private)  java.lang.Class clazz
          Wrapped class.
(package private)  java.lang.reflect.Method delete
          Delete method.
(package private)  java.lang.reflect.Method genericGetter
          Generic getter.
(package private)  java.lang.reflect.Method genericSetter
          Generic setter.
(package private)  java.util.Map<java.lang.String,java.lang.reflect.Method> getterMap
          Getter map.
(package private)  java.lang.reflect.Method insert
          Insert method.
(package private) static java.lang.reflect.Method noSuchMethod
           
(package private)  java.util.Map<java.lang.String,java.lang.reflect.Method> setterMap
          Setter map.
(package private)  java.lang.reflect.Method update1
          Update method, first form.
(package private)  java.lang.reflect.Method update2
          Update method, second form.
 
Constructor Summary
ExternalObjectWrapper.ClassInfo(java.lang.Class clazz)
           
 
Method Summary
(package private)  java.lang.reflect.Method getDelete()
          Tries to get a delete() method in the wrapped object.
(package private)  java.lang.reflect.Method getGenericGetter()
          Tries to get a generic getter in the wrapped object.
(package private)  java.lang.reflect.Method getGenericSetter()
          Tries to get a generic setter in the wrapped object.
(package private)  java.lang.reflect.Method getGetter(java.lang.String key)
          Getter getter :-) .
(package private)  java.lang.reflect.Method getInsert()
          Tries to get an insert() method in the wrapped object.
(package private)  java.lang.reflect.Method getSetter(java.lang.String key)
          Setter getter
(package private)  java.lang.reflect.Method getUpdate1()
          Tries to get an update() method in the wrapped object.
(package private)  java.lang.reflect.Method getUpdate2()
          Tries to get an update(Map) method in the wrapped object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clazz

java.lang.Class clazz
Wrapped class.


getterMap

java.util.Map<java.lang.String,java.lang.reflect.Method> getterMap
Getter map.


setterMap

java.util.Map<java.lang.String,java.lang.reflect.Method> setterMap
Setter map.


genericGetter

java.lang.reflect.Method genericGetter
Generic getter.


genericSetter

java.lang.reflect.Method genericSetter
Generic setter.


update1

java.lang.reflect.Method update1
Update method, first form.


update2

java.lang.reflect.Method update2
Update method, second form.


insert

java.lang.reflect.Method insert
Insert method.


delete

java.lang.reflect.Method delete
Delete method.


noSuchMethod

static java.lang.reflect.Method noSuchMethod
Constructor Detail

ExternalObjectWrapper.ClassInfo

ExternalObjectWrapper.ClassInfo(java.lang.Class clazz)
Method Detail

getGetter

java.lang.reflect.Method getGetter(java.lang.String key)
Getter getter :-) .

Parameters:
key - property name
Returns:
property getter, if found

getSetter

java.lang.reflect.Method getSetter(java.lang.String key)
Setter getter

Parameters:
key - property name
Returns:
property setter, if found

getUpdate1

java.lang.reflect.Method getUpdate1()
Tries to get an update() method in the wrapped object.

Returns:
found update method, if any

getUpdate2

java.lang.reflect.Method getUpdate2()
Tries to get an update(Map) method in the wrapped object.

Returns:
found update method, if any

getInsert

java.lang.reflect.Method getInsert()
Tries to get an insert() method in the wrapped object.

Returns:
found method, if any

getDelete

java.lang.reflect.Method getDelete()
Tries to get a delete() method in the wrapped object.

Returns:
found method, if any

getGenericGetter

java.lang.reflect.Method getGenericGetter()
Tries to get a generic getter in the wrapped object.

Returns:
found method, if any

getGenericSetter

java.lang.reflect.Method getGenericSetter()
Tries to get a generic setter in the wrapped object.

Returns:
found method, if any


~ooOoo~