Package org.synchronoss.cpo.core.meta
Class AbstractBindableCpoData
java.lang.Object
org.synchronoss.cpo.core.AbstractCpoData
org.synchronoss.cpo.core.meta.AbstractBindableCpoData
- All Implemented Interfaces:
CpoData
- Direct Known Subclasses:
ResultSetCpoData
Base
CpoData implementation for datastore bindings that are
addressed by a positional index (e.g. a JDBC parameter or column index) in addition to the CpoAttribute they move data for.- Author:
- dberry
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractBindableCpoData(CpoAttribute cpoAttribute, int index) Creates an instance bound to the given attribute and positional index. -
Method Summary
Methods inherited from class org.synchronoss.cpo.core.AbstractCpoData
getCpoAttribute, getDataGetterReturnType, getDataSetterParamType, invokeGetter, invokeSetter, setCpoAttribute, transformIn, transformOut
-
Constructor Details
-
AbstractBindableCpoData
Creates an instance bound to the given attribute and positional index.- Parameters:
cpoAttribute- the attribute this instance moves data forindex- the positional index (e.g. parameter or column index) of this binding
-
-
Method Details
-
getIndex
public int getIndex()Gets the positional index of this binding.- Returns:
- the positional index (e.g. parameter or column index) of this binding
-