Package org.dbunit.database
Class DatabaseConfig.ConfigProperty
java.lang.Object
org.dbunit.database.DatabaseConfig.ConfigProperty
- Enclosing class:
DatabaseConfig
Descriptor for a single named, typed, nullable
DatabaseConfig property.- Since:
- 2.4.0
- Version:
- $Revision$ $Date$
- Author:
- gommma (gommma AT users.sourceforge.net), Last changed by: $Author$
-
Constructor Summary
ConstructorsConstructorDescriptionConfigProperty(String property, Class propertyType, boolean nullable) Creates a descriptor for a configuration property. -
Method Summary
-
Constructor Details
-
ConfigProperty
Creates a descriptor for a configuration property.- Parameters:
property- the property name.propertyType- the allowed java type of the property's value.nullable- whether the property's value may benull.
-
-
Method Details
-
getProperty
Returns the property name.- Returns:
- the property name.
-
getPropertyType
Returns the allowed java type of the property's value.- Returns:
- the allowed java type of the property's value.
-
isNullable
public boolean isNullable()Returns whether the property's value may benull.- Returns:
trueif the property's value may benull.
-
hashCode
public int hashCode() -
equals
-
toString
-