View Javadoc

1   package com.explosion.expfmodules.rdbmsconn;
2   
3   import java.awt.Dimension;
4   
5   
6   /***
7    * @author Steve.Cowx
8    * This class contains the list of constants which are used by the RDBMSConnector Module
9    */
10  public interface RdbmsConnConstants 
11  {
12      public static final String CONNECTION_DEFINITIONS_FILE = "connectiondescriptionslocation";
13      
14      public static final String CONNECTION_DESCRIPTOR = "cd";
15      public static final String CONNECTION_DESCRIPTORS = "cnnctndscrptrs";
16      public static final String CD_NUM    = "cdnumberof";
17      public static final String CD_DRIVER = "cddriver";
18      public static final String CD_USER   = "cduser";
19      public static final String CD_PASS   = "cdpass";
20      public static final String CD_URL    = "cdurl";
21      public static final String CD_NAME   = "cdname";
22      
23      public static final String EMBEDDED_PROPERTIES_FILE   			  = "driver.properties";
24      public static final String EMBEDDED_PROPERTIES_FILE_NAME_OVERRIDE = "driver.properties.file.name";
25      public static final String EMBEDDED_PROPERTIES_EMBEDDED_DRIVERS   = "drivers.embedded";
26      public static final String EMBEDDED_PROPERTIES_ITEMS_DRIVERS  	  = "drivers.itemCount";
27      
28      /* These 4 are different from the ones below becuase they are more user firendly 
29       * than the others (they are used as keys in a user editable properties files whereas the others are used in the 
30       * Preferences area which is not really user configurable */
31      public static final String EMBEDDED_PROP_LABEL						= "drvrLabel";
32      public static final String EMBEDDED_PROP_CLASSNAMES					= "drvrClassNames";
33      public static final String EMBEDDED_PROP_SUPPORTS_NAMESPACES		= "drvrSupportsNamespaces";
34      public static final String EMBEDDED_PROP_USE_QUOTES_WITH_IDENTIFERS	= "drvrQuoteIdentifiers";
35      
36      public static final String DRVR_DESCRIPTORS     			= "drvrdscrptrs";
37      public static final String DRVR_LOCATION        			= "drvrlocation";
38      public static final String DRVR_NAME            			= "drvrname";
39      public static final String DRVR_POSSIBLE_VALUES 			= "drvrrpossibles";
40      public static final String DRVR_DB_SUPPORTS_NAMESPACES 		= "drvrsupportsnamespaces";
41      public static final String DRVR_USE_QUOTES_WITH_IDENTIFERS	= "drvrquoteidentifiers";
42      public static final String DRVR_EMBEDDED    				= "drvrembedded";
43      
44      public static final Dimension driversDialogDimension = new Dimension(300,250);
45      
46      public static final String RDBMS_OPTION_MAXROWSRETURNED = "maxrowsreturned";
47      
48  }