forked from Coded/SIPRP
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
36 lines
1.2 KiB
36 lines
1.2 KiB
/*
|
|
* To change this template, choose Tools | Templates
|
|
* and open the template in the editor.
|
|
*/
|
|
|
|
package db;
|
|
|
|
import com.evolute.utils.Singleton;
|
|
|
|
/**
|
|
*
|
|
* @author dneves
|
|
*/
|
|
public interface DBConstants
|
|
{
|
|
public static enum DB { SIPRP, SIPRP_LOCAL };
|
|
|
|
public static final String DEFAULT_PROVIDER = Singleton.DEFAULT_OBJECT_PROVIDER;
|
|
public static final String LOCAL_PROVIDER = "LOCAL_PROVIDER";
|
|
|
|
public static final String SERVER_SIPRP = "server.siprp";
|
|
public static final String PORT_SIPRP = "port.siprp";
|
|
public static final String DATABASE_SIPRP = "database.siprp";
|
|
public static final String USERNAME_SIPRP = "username.siprp";
|
|
public static final String PASSWORD_SIPRP = "password.siprp";
|
|
|
|
public static final String SERVER_SIPRP_LOCAL = "server.siprp_local";
|
|
public static final String PORT_SIPRP_LOCAL = "port.siprp_local";
|
|
public static final String DATABASE_SIPRP_LOCAL = "database.siprp_local";
|
|
public static final String USERNAME_SIPRP_LOCAL = "username.siprp_local";
|
|
public static final String PASSWORD_SIPRP_LOCAL = "password.siprp_local";
|
|
|
|
public static final String CONNECTION_URL = "connection.url";
|
|
public static final String LOCAL_CONNECTION_URL = "connection.local_url";
|
|
}
|