org.dbunit.database
Class DatabaseConfig

java.lang.Object
  extended byorg.dbunit.database.DatabaseConfig

public class DatabaseConfig
extends java.lang.Object

Since:
Jul 17, 2003
Version:
$Revision: 1.5 $
Author:
manuel.laflamme

Field Summary
static java.lang.String FEATURE_BATCHED_STATEMENTS
           
static java.lang.String FEATURE_DATATYPE_WARNING
           
static java.lang.String FEATURE_QUALIFIED_TABLE_NAMES
           
static java.lang.String PROPERTY_DATATYPE_FACTORY
           
static java.lang.String PROPERTY_ESCAPE_PATTERN
           
static java.lang.String PROPERTY_PRIMARY_KEY_FILTER
           
static java.lang.String PROPERTY_RESULTSET_TABLE_FACTORY
           
static java.lang.String PROPERTY_STATEMENT_FACTORY
           
static java.lang.String PROPERTY_TABLE_TYPE
           
 
Constructor Summary
DatabaseConfig()
           
 
Method Summary
 boolean getFeature(java.lang.String name)
          Look up the value of a feature flag.
 java.lang.Object getProperty(java.lang.String name)
          Look up the value of a property.
 void setFeature(java.lang.String name, boolean value)
          Set the value of a feature flag.
 void setProperty(java.lang.String name, java.lang.Object value)
          Set the value of a property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PROPERTY_STATEMENT_FACTORY

public static final java.lang.String PROPERTY_STATEMENT_FACTORY
See Also:
Constant Field Values

PROPERTY_RESULTSET_TABLE_FACTORY

public static final java.lang.String PROPERTY_RESULTSET_TABLE_FACTORY
See Also:
Constant Field Values

PROPERTY_DATATYPE_FACTORY

public static final java.lang.String PROPERTY_DATATYPE_FACTORY
See Also:
Constant Field Values

PROPERTY_ESCAPE_PATTERN

public static final java.lang.String PROPERTY_ESCAPE_PATTERN
See Also:
Constant Field Values

PROPERTY_TABLE_TYPE

public static final java.lang.String PROPERTY_TABLE_TYPE
See Also:
Constant Field Values

PROPERTY_PRIMARY_KEY_FILTER

public static final java.lang.String PROPERTY_PRIMARY_KEY_FILTER
See Also:
Constant Field Values

FEATURE_QUALIFIED_TABLE_NAMES

public static final java.lang.String FEATURE_QUALIFIED_TABLE_NAMES
See Also:
Constant Field Values

FEATURE_BATCHED_STATEMENTS

public static final java.lang.String FEATURE_BATCHED_STATEMENTS
See Also:
Constant Field Values

FEATURE_DATATYPE_WARNING

public static final java.lang.String FEATURE_DATATYPE_WARNING
See Also:
Constant Field Values
Constructor Detail

DatabaseConfig

public DatabaseConfig()
Method Detail

setFeature

public void setFeature(java.lang.String name,
                       boolean value)
Set the value of a feature flag.

Parameters:
name - the feature id
value - the feature status

getFeature

public boolean getFeature(java.lang.String name)
Look up the value of a feature flag.

Parameters:
name - the feature id
Returns:
the feature status

setProperty

public void setProperty(java.lang.String name,
                        java.lang.Object value)
Set the value of a property.

Parameters:
name - the property id
value - the property value

getProperty

public java.lang.Object getProperty(java.lang.String name)
Look up the value of a property.

Parameters:
name - the property id
Returns:
the property value


Copyright © 2002-2004 DbUnit.org. All Rights Reserved.