Class CassandraMethodMapEntry<J,D>
java.lang.Object
org.synchronoss.cpo.core.meta.MethodMapEntry<J,D>
org.synchronoss.cpo.cassandra.meta.CassandraMethodMapEntry<J,D>
- Type Parameters:
J- The java classD- The datasource class
- All Implemented Interfaces:
Serializable,Cloneable
public class CassandraMethodMapEntry<J,D>
extends MethodMapEntry<J,D>
implements Serializable, Cloneable
CassandraMethodMapEntry is a class that defines the getters and setters for Cassandra-specific
data classes
- Author:
- david berry
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMethod Types that take 1 additional parameterstatic final intMethod types that take two additional parametersFields inherited from class org.synchronoss.cpo.core.meta.MethodMapEntry
METHOD_TYPE_BASIC -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.synchronoss.cpo.core.meta.MethodMapEntry
getBsSetter, getJavaClass, getJavaSqlMethodClass, getMethodType, getRsGetter
-
Field Details
-
METHOD_TYPE_ONE
public static final int METHOD_TYPE_ONEMethod Types that take 1 additional parameter- See Also:
-
METHOD_TYPE_TWO
public static final int METHOD_TYPE_TWOMethod types that take two additional parameters- See Also:
-
-
Constructor Details
-
CassandraMethodMapEntry
public CassandraMethodMapEntry(int methodType, Class<J> javaClass, Class<D> datasourceMethodClass, Method rsGetter, Method bsSetter) Contsructs a method map entry- Parameters:
methodType- The method typejavaClass- The java class that we are mappingdatasourceMethodClass- The datasource class that we are mappingrsGetter- The getter from the resultsetbsSetter- The bound statement setter
-