Class DatabaseConfig.ConfigProperty

java.lang.Object
org.dbunit.database.DatabaseConfig.ConfigProperty
Enclosing class:
DatabaseConfig

public static class DatabaseConfig.ConfigProperty extends Object
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 Details

    • ConfigProperty

      public ConfigProperty(String property, Class propertyType, boolean nullable)
      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 be null.
  • Method Details

    • getProperty

      public String getProperty()
      Returns the property name.
      Returns:
      the property name.
    • getPropertyType

      public Class 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 be null.
      Returns:
      true if the property's value may be null.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object