org.eclipse.datatools.connectivity.oda.spec
Class ValidationContext.Connection

java.lang.Object
  extended by org.eclipse.datatools.connectivity.oda.spec.ValidationContext.Connection
Enclosing class:
ValidationContext

public class ValidationContext.Connection
extends java.lang.Object

A connection context for online validation. An instance can be shared by multiple ValidationContext. Its optional use by a client would expand the scope of validation performed. An instance must contain the connection properties needed by a validator to open a connection. An IValidator implementation may add its own name-value pairs to its properties, such as a connection handle, for optimizing its performance. The client is responsible to close the connection context when it is no longer needed.


Constructor Summary
ValidationContext.Connection(java.util.Properties props)
           
 
Method Summary
 void close()
          Closes this connection context.
 java.util.Properties getProperties()
           
 void setProperties(java.util.Properties props)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationContext.Connection

public ValidationContext.Connection(java.util.Properties props)
Method Detail

getProperties

public java.util.Properties getProperties()

setProperties

public void setProperties(java.util.Properties props)

close

public void close()
Closes this connection context.
The client is responsible to close this when it is no longer needed.