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 type
D - - The datasource type
All Implemented Interfaces:
Serializable, Cloneable

public class JdbcMethodMapEntry<J,D> extends MethodMapEntry<J,D> implements Serializable, Cloneable
MethodMapEntry is a class defines the getters and setters for JDBC specific data classes
Author:
david berry
See Also:
  • Field Details

    • METHOD_TYPE_STREAM

      public static final int METHOD_TYPE_STREAM
      Methods that accept and return streams
      See Also:
    • METHOD_TYPE_READER

      public static final int METHOD_TYPE_READER
      Methods that accept and return readers
      See Also:
    • METHOD_TYPE_OBJECT

      public static final int METHOD_TYPE_OBJECT
      Methods 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 clazz
      datasourceMethodClass - - datasource clazz with the method on it.
      rsGetter - - the resultset getter Method
      bsSetter - - the prepared statement setter method
      csGetter - - the callable statement getter method.
      csSetter - - the callable statement setter method.
  • Method Details

    • getCsGetter

      public Method getCsGetter()
      Gets the callable statement getter
      Returns:
      The callable statement getter Method
    • getCsSetter

      public Method getCsSetter()
      Gets the callable statement setter
      Returns:
      The callable statement setter Method