Code example for Properties

Methods: hashCode

0
  public int hashCode() 
  { 
    int result = super.hashCode();
    result = 31 * result + driverClass.hashCode();
    result = 31 * result + connectionString.hashCode();
    result = 31 * result + properties.hashCode();
    return result;
  } 
 
  public String getDatabaseName()
  { 
    return properties.getProperty("::pentaho-reporting::database-name");
  } 
 
  public void setDatabaseName(final String databaseName)
  { 
    if (databaseName == null)
    { 
      properties.remove("::pentaho-reporting::database-name");
    } 
    else