|
Oracle© Data Integrator Data Services Java API Reference 11g Release 1 (11.1.1.6.0) E17062-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object
oracle.odi.dataservices.fwk.CDCManagedEntity
public class CDCManagedEntity
A data service parameter which represents the entity corresponding to a data change captured for a datastore. This class constitutes a valid output parameter for a data service method.
Constructor Summary | |
---|---|
CDCManagedEntity() Constructs a new CDCManagedEntity. |
Method Summary | |
---|---|
static CDCManagedEntity |
createFromResultSet(java.sql.ResultSet pResultSet, java.util.List pManagedEntityColumnsList) Helper method used to create a CDCManagedEntity from a JDBC ResultSet object.This method creates a new CDCManagedEntity and sets its columns values with those from the ResultSet : JRN_DATE column is mapped to the JrnDate field JRN_FLAG column is mapped to the JrnFlag field The values of the columns listed in pManagedEntityColumnsList are added to the fields of the ManagedEntity concerned by the change. |
java.util.Date |
getJrnDate() Returns the date when the change was captured. |
java.lang.String |
getJrnFlag() Retrieves the type of change captured. |
ManagedEntity |
getManagedEntity() Returns the ManagedEntity to which the change applied. |
void |
setJrnDate(java.util.Date pJrnDate) Sets the date when the change was captured. |
void |
setJrnFlag(java.lang.String pJrnFlag) Sets the type of change captured. |
void |
setManagedEntity(ManagedEntity pManagedEntity) Sets the ManagedEntity affected by the change. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CDCManagedEntity()
Method Detail |
---|
public java.util.Date getJrnDate()
setJrnDate(java.util.Date)
public void setJrnDate(java.util.Date pJrnDate)
pJrnDate
- date of the changegetJrnDate()
public java.lang.String getJrnFlag()
setJrnFlag(java.lang.String)
public void setJrnFlag(java.lang.String pJrnFlag)
pJrnFlag
- type of change ("I" - INSERT/UPDATE, "D" - DELETE)getJrnFlag()
public ManagedEntity getManagedEntity()
ManagedEntity
to which the change applied. Note that the entity returned is the one after the change is applied. After an UPDATE, the fields will contain the new values. After a DELETE, only the primary key fields are set and other fields are null.ManagedEntity
setManagedEntity(oracle.odi.dataservices.fwk.ManagedEntity)
public void setManagedEntity(ManagedEntity pManagedEntity)
ManagedEntity
affected by the change. Note that the entity set must be the one after the change has taken place. After an UPDATE, the fields will contain the new values. After a DELETE, only the primary key fields are set and other fields are null.pManagedEntity
- The changed ManagedEntity
getManagedEntity()
public static CDCManagedEntity createFromResultSet(java.sql.ResultSet pResultSet, java.util.List pManagedEntityColumnsList) throws java.sql.SQLException
CDCManagedEntity
from a JDBC ResultSet
object.CDCManagedEntity
and sets its columns values with those from the ResultSet
:
JRN_DATE
column is mapped to the JrnDate
fieldJRN_FLAG
column is mapped to the JrnFlag
fieldpManagedEntityColumnsList
are added to the fields of the ManagedEntity
concerned by the change.pResultSet
- the ResultSet
from which to retrieve the datapManagedEntityColumnsList
- the list of columns to set in the ManagedEntity
concerned by the changenull
if pResultSet.next()
return false; a CDCManagedEntity
otherwisejava.sql.SQLException
|
Oracle© Data Integrator Data Services Java API Reference 11g Release 1 (11.1.1.6.0) E17062-03 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |