oracle.odi.dataservices.fwk
Class CDCManagedEntityList

java.lang.Object
  extended byoracle.odi.dataservices.fwk.CDCManagedEntityList

public class CDCManagedEntityList
extends java.lang.Object

A data service parameter that represents a list of CDCManagedEntity objects. This class constitutes a valid output parameter for a data service method.


Constructor Summary
CDCManagedEntityList()
          Constructs a new, empty CDCManagedEntityList.
 
Method Summary
 void addCDCManagedEntity(CDCManagedEntity pCDCManagedEntity)
          Appends a new CDCManagedEntity to the end of the list.
static CDCManagedEntityList createFromResultSet(java.sql.ResultSet pResultSet, java.util.List pManagedEntityColumnsList, java.lang.Integer pMaxRowCount)
          Helper method to create a CDCManagedEntityList from a JDBC ResultSet object.
 CDCManagedEntity getCDCManagedEntity(int pIdx)
          Retrieves the CDCManagedEntity element located at position pIdx in the list
 int size()
          Returns the number of elements in the list.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDCManagedEntityList

public CDCManagedEntityList()
Constructs a new, empty CDCManagedEntityList.

Method Detail

addCDCManagedEntity

public void addCDCManagedEntity(CDCManagedEntity pCDCManagedEntity)
Appends a new CDCManagedEntity to the end of the list.

Parameters:
pCDCManagedEntity - the CDCManagedEntity object to append to the list.

size

public int size()
Returns the number of elements in the list.

Returns:
Number of elements

getCDCManagedEntity

public CDCManagedEntity getCDCManagedEntity(int pIdx)
Retrieves the CDCManagedEntity element located at position pIdx in the list

Parameters:
pIdx - position of the object to retrieve.
Returns:
A CDCManagedEntity object.

createFromResultSet

public static CDCManagedEntityList createFromResultSet(java.sql.ResultSet pResultSet,
                                                       java.util.List pManagedEntityColumnsList,
                                                       java.lang.Integer pMaxRowCount)
                                                throws java.sql.SQLException
Helper method to create a CDCManagedEntityList from a JDBC ResultSet object.
This method calls the createFromResultSet method of CDCManagedEntity with the pResultSet parameter and appends the resulting CDCManagedEntity to the list, until pMaxRowCount is reached or pResultSet if empty.

Parameters:
pResultSet - ResultSet object from which the data is retrieved.
pManagedEntityColumnsList - list of columns to set in the CDCManagedEntity objects added to the list.
pMaxRowCount - The maximum number of record to retrieve. If this parameter is set to null, there are no limits.
Returns:
A CDCManagedEntityList generated from the ResultSet object.
Throws:
java.sql.SQLException