Package org.synchronoss.cpo.jdbc.meta
Class JdbcMethodMapEntry<J,D>
java.lang.Object
org.synchronoss.cpo.core.meta.MethodMapEntry<J,D>
org.synchronoss.cpo.jdbc.meta.JdbcMethodMapEntry<J,D>
- Type Parameters:
J- - The java typeD- - The datasource type
- All Implemented Interfaces:
Serializable,Cloneable
MethodMapEntry is a class defines the getters and setters for JDBC specific data classes
- Author:
- david berry
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMethods that accept and return objectsstatic final intMethods that accept and return readersstatic final intMethods that accept and return streamsFields inherited from class org.synchronoss.cpo.core.meta.MethodMapEntry
METHOD_TYPE_BASIC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the callable statement getterGets the callable statement setterMethods inherited from class org.synchronoss.cpo.core.meta.MethodMapEntry
getBsSetter, getJavaClass, getJavaSqlMethodClass, getMethodType, getRsGetter
-
Field Details
-
METHOD_TYPE_STREAM
public static final int METHOD_TYPE_STREAMMethods that accept and return streams- See Also:
-
METHOD_TYPE_READER
public static final int METHOD_TYPE_READERMethods that accept and return readers- See Also:
-
METHOD_TYPE_OBJECT
public static final int METHOD_TYPE_OBJECTMethods that accept and return objects- See Also:
-
-
Constructor Details
-
JdbcMethodMapEntry
public JdbcMethodMapEntry(int methodType, Class<J> javaClass, Class<D> datasourceMethodClass, Method rsGetter, Method bsSetter, Method csGetter, Method csSetter) Constructs a JdbcMethodMapEntry- Parameters:
methodType- - The method type (METHOD_TYPE_STREAM, METHOD_TYPE_READER, METHOD_TYPE_OBJECT)javaClass- - The java clazzdatasourceMethodClass- - datasource clazz with the method on it.rsGetter- - the resultset getter MethodbsSetter- - the prepared statement setter methodcsGetter- - the callable statement getter method.csSetter- - the callable statement setter method.
-
-
Method Details
-
getCsGetter
Gets the callable statement getter- Returns:
- The callable statement getter Method
-
getCsSetter
Gets the callable statement setter- Returns:
- The callable statement setter Method
-