class DatabaseMeta extends SharedObjectBase implements Cloneable, XMLInterface, SharedObjectInterface,
  VariableSpace, RepositoryElementInterface {

  public static final DatabaseMeta findDatabase( List<? extends SharedObjectInterface> databases, String dbname ) {
    if ( databases == null || dbname == null ) {
      return null;
    }

    for ( int i = 0; i < databases.size(); i++ ) {
      DatabaseMeta ci = (DatabaseMeta) databases.get( i );
      if ( ci.getName().trim().equalsIgnoreCase( dbname.trim() ) ) {
        return ci;
      }
    }
    return null;
  }

  public  DatabaseMeta( String name, String type, String access, String host, String db, String port, String user,
    String pass );
  public  DatabaseMeta();
  public  DatabaseMeta( String xml );
  public  DatabaseMeta( Node con );

}