- java.lang.Object
-
- org.tentackle.common.Constants
-
public class Constants extends Object
Class holding constants for build- and runtime.- Author:
- harald
-
-
Field Summary
Fields Modifier and Type Field Description static StringAN_CLASSIDjava name class-ID.static StringAN_EDITEDBYjava name of the editing user.static StringAN_EDITEDEXPIRYjava name of time "lock token" will expire.static StringAN_EDITEDSINCEjava name of time editing started.static StringAN_IDjava name of ID.static StringAN_NORMTEXTjava name for the normtext.static StringAN_ROOTCLASSIDjava name root-class-ID.static StringAN_ROOTIDjava name root-ID.static StringAN_SERIALjava name of serial.static StringAN_TABLESERIALjava name of tableserial.static StringBACKEND_APPLICATION_NAMEApplication name.
By default, the application name is determined from the main class.static StringBACKEND_AUTOLOGINproperty key to enable autologin.static StringBACKEND_DRIVERexplicit driver name and url to load it from <name:url>.static StringBACKEND_INFOOptional backend configuration.
Useful to define extra technical user credentials for the physical connection, to load JDBC-drivers at runtime or to switch between different backends.static StringBACKEND_INFO_SYSTEMValue of backendinfo to allow selecting the backend (see Login in fx-rdc) using system preferences.
If the value is followed by a colon and a name, that name is treated as theBackendConfiguration.static StringBACKEND_INFO_USERValue of backendinfo to allow selecting the backend (see Login in fx-rdc) using user preferences.
If the value is followed by a colon and a name, that name is treated as theBackendConfiguration.static StringBACKEND_JDBC_URL_INTROintro in URL to denote a JDBC connection.static StringBACKEND_JNDI_URL_INTROintro in URL to denote a JNDI connection.static StringBACKEND_PASSWORDproperty key for the password.static StringBACKEND_PROPSname of property file holding the backend properties.static StringBACKEND_RMI_URL_INTROintro in URL to denote a remote connection.static StringBACKEND_SCHEMASproperty key for the optional schemas.static StringBACKEND_URLproperty key for the backend URL.static StringBACKEND_USERproperty key for username.static StringBIND_AUTOSELECTbind option autoselect field.static StringBIND_COLSbind option COLS = ...static StringBIND_DIGITSbind option digits only.static StringBIND_LCbind option lowercase.static StringBIND_LINESbind option LINES = ...static StringBIND_MAXCOLSbind option MAXCOLS = ...static StringBIND_SCALEbind option SCALE = ...static StringBIND_UCbind option uppercase.static StringBIND_UNSIGNEDbind option UNSIGNED.static StringBIND_UTCbind timestamp with UTC option.static intBMONEY_DIGITSmaximum number of significant digits for BMoney.static StringBUNDLE_SERVICE_PATHthe directory for resource bundle names.static StringCN_CLASSIDname of class-ID column.static StringCN_EDITEDBYthe object ID of the user currently editing this object.static StringCN_EDITEDEXPIRYtime when "lock token" will expire.static StringCN_EDITEDSINCEtime when editing started.static StringCN_IDname of ID column.static StringCN_NORMTEXTcolumn name for the normtext.static StringCN_ROOTCLASSIDname of root-class-ID column.static StringCN_ROOTIDname of root-ID column.static StringCN_SERIALname of serial column.static StringCN_TABLESERIALname of tableserial column.static longDAY_MSa day in milliseconds.static StringDEFAULT_SERVICE_PATHthe directory for default service provider configurations.static StringDIGITSAll digits in a string.static intDMONEY_DIGITSmaximum number of significant digits for DMoney.static longHOUR_MSan hour in milliseconds.static StringMAPPED_SERVICE_PATHthe directory for mapped service provider configurations.static StringMETA_SERVICE_PATHthe directory for meta service provider configurations.static longMINUTE_MSa minute in milliseconds.static StringNAME_NONEname for "none".static StringNAME_UNKNOWNunknown name.static StringORIGIN_INFO_LEADHeredocs may start with this lead followed by the source info.
Same as in wurbelizer's Constants.static StringPROPS_EXTENSIONextension for property files.static longSECOND_MSa second in milliseconds.static StringSUPPRESS_WARNINGS_STATEFUL_DOMAIN_LOGICsuppress warnings for suspicious stateful domain logic.
-
-
-
Field Detail
-
MAPPED_SERVICE_PATH
public static final String MAPPED_SERVICE_PATH
the directory for mapped service provider configurations.- See Also:
- Constant Field Values
-
META_SERVICE_PATH
public static final String META_SERVICE_PATH
the directory for meta service provider configurations.- See Also:
- Constant Field Values
-
DEFAULT_SERVICE_PATH
public static final String DEFAULT_SERVICE_PATH
the directory for default service provider configurations.- See Also:
- Constant Field Values
-
BUNDLE_SERVICE_PATH
public static final String BUNDLE_SERVICE_PATH
the directory for resource bundle names.- See Also:
- Constant Field Values
-
SUPPRESS_WARNINGS_STATEFUL_DOMAIN_LOGIC
public static final String SUPPRESS_WARNINGS_STATEFUL_DOMAIN_LOGIC
suppress warnings for suspicious stateful domain logic.- See Also:
- Constant Field Values
-
NAME_NONE
public static final String NAME_NONE
name for "none".- See Also:
- Constant Field Values
-
NAME_UNKNOWN
public static final String NAME_UNKNOWN
unknown name.- See Also:
- Constant Field Values
-
PROPS_EXTENSION
public static final String PROPS_EXTENSION
extension for property files.- See Also:
- Constant Field Values
-
BACKEND_PROPS
public static final String BACKEND_PROPS
name of property file holding the backend properties.- See Also:
- Constant Field Values
-
BACKEND_URL
public static final String BACKEND_URL
property key for the backend URL.- See Also:
- Constant Field Values
-
BACKEND_DRIVER
public static final String BACKEND_DRIVER
explicit driver name and url to load it from <name:url>.- See Also:
- Constant Field Values
-
BACKEND_SCHEMAS
public static final String BACKEND_SCHEMAS
property key for the optional schemas.- See Also:
- Constant Field Values
-
BACKEND_USER
public static final String BACKEND_USER
property key for username.- See Also:
- Constant Field Values
-
BACKEND_PASSWORD
public static final String BACKEND_PASSWORD
property key for the password.- See Also:
- Constant Field Values
-
BACKEND_AUTOLOGIN
public static final String BACKEND_AUTOLOGIN
property key to enable autologin.- See Also:
- Constant Field Values
-
BACKEND_JDBC_URL_INTRO
public static final String BACKEND_JDBC_URL_INTRO
intro in URL to denote a JDBC connection.- See Also:
- Constant Field Values
-
BACKEND_RMI_URL_INTRO
public static final String BACKEND_RMI_URL_INTRO
intro in URL to denote a remote connection.- See Also:
- Constant Field Values
-
BACKEND_JNDI_URL_INTRO
public static final String BACKEND_JNDI_URL_INTRO
intro in URL to denote a JNDI connection.- See Also:
- Constant Field Values
-
BACKEND_INFO
public static final String BACKEND_INFO
Optional backend configuration.
Useful to define extra technical user credentials for the physical connection, to load JDBC-drivers at runtime or to switch between different backends.The backend info comes in 3 flavours:
@useror@system: the login dialog allows the user to manage backend parameters and optional drivers through the UI. The settings are stored in the user-preferences for@userand system preferences for@system@user:backendnameor@system:backendname: loads the configuration for the backend with the given name from the user- or system-preferences, respectively- a property file name: loads the settings from the given property file
- See Also:
- Constant Field Values
-
BACKEND_INFO_USER
public static final String BACKEND_INFO_USER
Value of backendinfo to allow selecting the backend (see Login in fx-rdc) using user preferences.
If the value is followed by a colon and a name, that name is treated as theBackendConfiguration.- See Also:
- Constant Field Values
-
BACKEND_INFO_SYSTEM
public static final String BACKEND_INFO_SYSTEM
Value of backendinfo to allow selecting the backend (see Login in fx-rdc) using system preferences.
If the value is followed by a colon and a name, that name is treated as theBackendConfiguration.- See Also:
- Constant Field Values
-
BACKEND_APPLICATION_NAME
public static final String BACKEND_APPLICATION_NAME
Application name.
By default, the application name is determined from the main class. For testing, however, the application name needs to be set explicitly if backend infos are to be loaded viaBACKEND_INFO_USERorBACKEND_INFO_SYSTEM.- See Also:
- Constant Field Values
-
CN_ID
public static final String CN_ID
name of ID column.- See Also:
- Constant Field Values
-
AN_ID
public static final String AN_ID
java name of ID.- See Also:
- Constant Field Values
-
CN_SERIAL
public static final String CN_SERIAL
name of serial column.- See Also:
- Constant Field Values
-
AN_SERIAL
public static final String AN_SERIAL
java name of serial.- See Also:
- Constant Field Values
-
CN_TABLESERIAL
public static final String CN_TABLESERIAL
name of tableserial column.- See Also:
- Constant Field Values
-
AN_TABLESERIAL
public static final String AN_TABLESERIAL
java name of tableserial.- See Also:
- Constant Field Values
-
CN_CLASSID
public static final String CN_CLASSID
name of class-ID column.- See Also:
- Constant Field Values
-
AN_CLASSID
public static final String AN_CLASSID
java name class-ID.- See Also:
- Constant Field Values
-
CN_ROOTID
public static final String CN_ROOTID
name of root-ID column.- See Also:
- Constant Field Values
-
AN_ROOTID
public static final String AN_ROOTID
java name root-ID.- See Also:
- Constant Field Values
-
CN_ROOTCLASSID
public static final String CN_ROOTCLASSID
name of root-class-ID column.- See Also:
- Constant Field Values
-
AN_ROOTCLASSID
public static final String AN_ROOTCLASSID
java name root-class-ID.- See Also:
- Constant Field Values
-
CN_EDITEDBY
public static final String CN_EDITEDBY
the object ID of the user currently editing this object.- See Also:
- Constant Field Values
-
AN_EDITEDBY
public static final String AN_EDITEDBY
java name of the editing user.- See Also:
- Constant Field Values
-
CN_EDITEDSINCE
public static final String CN_EDITEDSINCE
time when editing started.- See Also:
- Constant Field Values
-
AN_EDITEDSINCE
public static final String AN_EDITEDSINCE
java name of time editing started.- See Also:
- Constant Field Values
-
CN_EDITEDEXPIRY
public static final String CN_EDITEDEXPIRY
time when "lock token" will expire.- See Also:
- Constant Field Values
-
AN_EDITEDEXPIRY
public static final String AN_EDITEDEXPIRY
java name of time "lock token" will expire.- See Also:
- Constant Field Values
-
CN_NORMTEXT
public static final String CN_NORMTEXT
column name for the normtext.- See Also:
- Constant Field Values
-
AN_NORMTEXT
public static final String AN_NORMTEXT
java name for the normtext.- See Also:
- Constant Field Values
-
BIND_MAXCOLS
public static final String BIND_MAXCOLS
bind option MAXCOLS = ...- See Also:
- Constant Field Values
-
BIND_COLS
public static final String BIND_COLS
bind option COLS = ...- See Also:
- Constant Field Values
-
BIND_SCALE
public static final String BIND_SCALE
bind option SCALE = ...- See Also:
- Constant Field Values
-
BIND_UNSIGNED
public static final String BIND_UNSIGNED
bind option UNSIGNED.- See Also:
- Constant Field Values
-
BIND_DIGITS
public static final String BIND_DIGITS
bind option digits only.- See Also:
- Constant Field Values
-
BIND_UC
public static final String BIND_UC
bind option uppercase.- See Also:
- Constant Field Values
-
BIND_LC
public static final String BIND_LC
bind option lowercase.- See Also:
- Constant Field Values
-
BIND_AUTOSELECT
public static final String BIND_AUTOSELECT
bind option autoselect field.- See Also:
- Constant Field Values
-
BIND_UTC
public static final String BIND_UTC
bind timestamp with UTC option.- See Also:
- Constant Field Values
-
BIND_LINES
public static final String BIND_LINES
bind option LINES = ...- See Also:
- Constant Field Values
-
BMONEY_DIGITS
public static final int BMONEY_DIGITS
maximum number of significant digits for BMoney.- See Also:
- Constant Field Values
-
DMONEY_DIGITS
public static final int DMONEY_DIGITS
maximum number of significant digits for DMoney.- See Also:
- Constant Field Values
-
SECOND_MS
public static final long SECOND_MS
a second in milliseconds.- See Also:
- Constant Field Values
-
MINUTE_MS
public static final long MINUTE_MS
a minute in milliseconds.- See Also:
- Constant Field Values
-
HOUR_MS
public static final long HOUR_MS
an hour in milliseconds.- See Also:
- Constant Field Values
-
DAY_MS
public static final long DAY_MS
a day in milliseconds.- See Also:
- Constant Field Values
-
ORIGIN_INFO_LEAD
public static final String ORIGIN_INFO_LEAD
Heredocs may start with this lead followed by the source info.
Same as in wurbelizer's Constants.- See Also:
- Constant Field Values
-
DIGITS
public static final String DIGITS
All digits in a string.- See Also:
- Constant Field Values
-
-