com.mockrunner.mock.connector.cci
Class MockResultSetInfo

java.lang.Object
  extended by com.mockrunner.mock.connector.cci.MockResultSetInfo
All Implemented Interfaces:
javax.resource.cci.ResultSetInfo

public class MockResultSetInfo
extends java.lang.Object
implements javax.resource.cci.ResultSetInfo

Mock implementation of ResultSetInfo.


Constructor Summary
MockResultSetInfo()
           
 
Method Summary
 boolean deletesAreDetected(int type)
           
 boolean insertsAreDetected(int type)
           
 boolean othersDeletesAreVisible(int type)
           
 boolean othersInsertsAreVisible(int type)
           
 boolean othersUpdatesAreVisible(int type)
           
 boolean ownDeletesAreVisible(int type)
           
 boolean ownInsertsAreVisible(int type)
           
 boolean ownUpdatesAreVisible(int type)
           
 void setDeletesAreDetected(int type, boolean deletesAreDetected)
           
 void setInsertsAreDetected(int type, boolean insertsAreDetected)
           
 void setOthersDeletesAreVisible(int type, boolean othersDeletesAreVisible)
           
 void setOthersInsertsAreVisible(int type, boolean othersInsertsAreVisible)
           
 void setOthersUpdatesAreVisible(int type, boolean othersUpdatesAreVisible)
           
 void setOwnDeletesAreVisible(int type, boolean ownDeletesAreVisible)
           
 void setOwnInsertsAreVisible(int type, boolean ownInsertsAreVisible)
           
 void setOwnUpdatesAreVisible(int type, boolean ownUpdatesAreVisible)
           
 void setSupportsResultSetType(int type, boolean supportsResultSetType)
           
 void setSupportsResultTypeConcurrency(int type, int concurrency, boolean supportsResultTypeConcurrency)
           
 void setUpdatesAreDetected(int type, boolean updatesAreDetected)
           
 boolean supportsResultSetType(int type)
           
 boolean supportsResultTypeConcurrency(int type, int concurrency)
           
 boolean updatesAreDetected(int type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MockResultSetInfo

public MockResultSetInfo()
Method Detail

deletesAreDetected

public boolean deletesAreDetected(int type)
                           throws javax.resource.ResourceException
Specified by:
deletesAreDetected in interface javax.resource.cci.ResultSetInfo
Throws:
javax.resource.ResourceException

insertsAreDetected

public boolean insertsAreDetected(int type)
                           throws javax.resource.ResourceException
Specified by:
insertsAreDetected in interface javax.resource.cci.ResultSetInfo
Throws:
javax.resource.ResourceException

updatesAreDetected

public boolean updatesAreDetected(int type)
                           throws javax.resource.ResourceException
Specified by:
updatesAreDetected in interface javax.resource.cci.ResultSetInfo
Throws:
javax.resource.ResourceException

othersDeletesAreVisible

public boolean othersDeletesAreVisible(int type)
                                throws javax.resource.ResourceException
Specified by:
othersDeletesAreVisible in interface javax.resource.cci.ResultSetInfo
Throws:
javax.resource.ResourceException

othersInsertsAreVisible

public boolean othersInsertsAreVisible(int type)
                                throws javax.resource.ResourceException
Specified by:
othersInsertsAreVisible in interface javax.resource.cci.ResultSetInfo
Throws:
javax.resource.ResourceException

othersUpdatesAreVisible

public boolean othersUpdatesAreVisible(int type)
                                throws javax.resource.ResourceException
Specified by:
othersUpdatesAreVisible in interface javax.resource.cci.ResultSetInfo
Throws:
javax.resource.ResourceException

ownDeletesAreVisible

public boolean ownDeletesAreVisible(int type)
                             throws javax.resource.ResourceException
Specified by:
ownDeletesAreVisible in interface javax.resource.cci.ResultSetInfo
Throws:
javax.resource.ResourceException

ownInsertsAreVisible

public boolean ownInsertsAreVisible(int type)
                             throws javax.resource.ResourceException
Specified by:
ownInsertsAreVisible in interface javax.resource.cci.ResultSetInfo
Throws:
javax.resource.ResourceException

ownUpdatesAreVisible

public boolean ownUpdatesAreVisible(int type)
                             throws javax.resource.ResourceException
Specified by:
ownUpdatesAreVisible in interface javax.resource.cci.ResultSetInfo
Throws:
javax.resource.ResourceException

supportsResultSetType

public boolean supportsResultSetType(int type)
                              throws javax.resource.ResourceException
Specified by:
supportsResultSetType in interface javax.resource.cci.ResultSetInfo
Throws:
javax.resource.ResourceException

supportsResultTypeConcurrency

public boolean supportsResultTypeConcurrency(int type,
                                             int concurrency)
                                      throws javax.resource.ResourceException
Specified by:
supportsResultTypeConcurrency in interface javax.resource.cci.ResultSetInfo
Throws:
javax.resource.ResourceException

setDeletesAreDetected

public void setDeletesAreDetected(int type,
                                  boolean deletesAreDetected)

setInsertsAreDetected

public void setInsertsAreDetected(int type,
                                  boolean insertsAreDetected)

setUpdatesAreDetected

public void setUpdatesAreDetected(int type,
                                  boolean updatesAreDetected)

setOthersDeletesAreVisible

public void setOthersDeletesAreVisible(int type,
                                       boolean othersDeletesAreVisible)

setOthersInsertsAreVisible

public void setOthersInsertsAreVisible(int type,
                                       boolean othersInsertsAreVisible)

setOthersUpdatesAreVisible

public void setOthersUpdatesAreVisible(int type,
                                       boolean othersUpdatesAreVisible)

setOwnDeletesAreVisible

public void setOwnDeletesAreVisible(int type,
                                    boolean ownDeletesAreVisible)

setOwnInsertsAreVisible

public void setOwnInsertsAreVisible(int type,
                                    boolean ownInsertsAreVisible)

setOwnUpdatesAreVisible

public void setOwnUpdatesAreVisible(int type,
                                    boolean ownUpdatesAreVisible)

setSupportsResultSetType

public void setSupportsResultSetType(int type,
                                     boolean supportsResultSetType)

setSupportsResultTypeConcurrency

public void setSupportsResultTypeConcurrency(int type,
                                             int concurrency,
                                             boolean supportsResultTypeConcurrency)