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

  protected boolean databaseForBothDbInterfacesIsTheSame( DatabaseInterface primary, DatabaseInterface secondary ) {
    if ( primary == null || secondary == null ) {
      throw new IllegalArgumentException( "DatabaseInterface shouldn't be null!" );
    }

    if ( primary.getPluginId() == null || secondary.getPluginId() == null ) {
      return false;
    }

    if ( primary.getPluginId().equals( secondary.getPluginId() ) ) {
      return true;
    }

    return primary.getClass().isAssignableFrom( secondary.getClass() );
  }

  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 );

}