Class AbstractBindableCpoData

java.lang.Object
org.synchronoss.cpo.core.AbstractCpoData
org.synchronoss.cpo.core.meta.AbstractBindableCpoData
All Implemented Interfaces:
CpoData
Direct Known Subclasses:
ResultSetCpoData

public abstract class AbstractBindableCpoData extends AbstractCpoData
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 Details

    • AbstractBindableCpoData

      public AbstractBindableCpoData(CpoAttribute cpoAttribute, int index)
      Creates an instance bound to the given attribute and positional index.
      Parameters:
      cpoAttribute - the attribute this instance moves data for
      index - 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