java.lang.Object
org.tentackle.common.Constants
Class holding constants for build- and runtime.
- Author:
- harald
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringjava name class-ID.static final Stringjava name of the editing user.static final Stringjava name of time "lock token" will expire.static final Stringjava name of time editing started.static final Stringjava name of ID.static final Stringjava name for the normtext.static final Stringjava name root-class-ID.static final Stringjava name root-ID.static final Stringjava name of serial.static final Stringjava name of tableserial.static final StringApplication name.
By default, the application name is determined from the main class.static final Stringproperty key to enable autologin.static final Stringexplicit driver name and url to load it from <name:url>.static final StringOptional 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 final StringValue 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 final StringValue 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 final Stringintro in URL to denote a JDBC connection.static final Stringintro in URL to denote a JNDI connection.static final Stringproperty key for the password.static final Stringname of property file holding the backend properties.static final Stringintro in URL to denote a remote connection.static final Stringproperty key for the optional schemas.static final Stringproperty key for the backend URL.static final Stringproperty key for username.static final Stringbind option autoselect field.static final Stringbind option COLS = ...static final Stringbind option digits only.static final Stringbind option lowercase.static final Stringbind option LINES = ...static final Stringbind option MAXCOLS = ...static final Stringbind option SCALE = ...static final Stringbind option uppercase.static final Stringbind option UNSIGNED.static final Stringbind timestamp with UTC option.static final intmaximum number of significant digits for BMoney.static final Stringthe directory for resource bundle names.static final Stringname of class-ID column.static final Stringthe object ID of the user currently editing this object.static final Stringtime when "lock token" will expire.static final Stringtime when editing started.static final Stringname of ID column.static final Stringcolumn name for the normtext.static final Stringname of root-class-ID column.static final Stringname of root-ID column.static final Stringname of serial column.static final Stringname of tableserial column.static final longa day in milliseconds.static final Stringthe directory for default service provider configurations.static final StringAll digits in a string.static final intmaximum number of significant digits for DMoney.static final longan hour in milliseconds.static final Stringthe directory for mapped service provider configurations.static final StringMETA-INFdirectory name.static final Stringthe directory for meta service provider configurations.static final longa minute in milliseconds.static final Stringname for "none".static final Stringunknown name.static final Stringextension for property files.static final longa second in milliseconds.static final Stringsuppress warnings for suspicious stateful domain logic. -
Method Summary
-
Field Details
-
META_INF
META-INFdirectory name.- See Also:
-
MAPPED_SERVICE_PATH
the directory for mapped service provider configurations.- See Also:
-
META_SERVICE_PATH
the directory for meta service provider configurations.- See Also:
-
DEFAULT_SERVICE_PATH
the directory for default service provider configurations.- See Also:
-
BUNDLE_SERVICE_PATH
the directory for resource bundle names.- See Also:
-
SUPPRESS_WARNINGS_STATEFUL_DOMAIN_LOGIC
suppress warnings for suspicious stateful domain logic.- See Also:
-
NAME_NONE
name for "none".- See Also:
-
NAME_UNKNOWN
unknown name.- See Also:
-
PROPS_EXTENSION
extension for property files.- See Also:
-
BACKEND_PROPS
name of property file holding the backend properties.- See Also:
-
BACKEND_URL
property key for the backend URL.- See Also:
-
BACKEND_DRIVER
explicit driver name and url to load it from <name:url>.- See Also:
-
BACKEND_SCHEMAS
property key for the optional schemas.- See Also:
-
BACKEND_USER
property key for username.- See Also:
-
BACKEND_PASSWORD
property key for the password.- See Also:
-
BACKEND_AUTOLOGIN
property key to enable autologin.- See Also:
-
BACKEND_JDBC_URL_INTRO
intro in URL to denote a JDBC connection.- See Also:
-
BACKEND_RMI_URL_INTRO
intro in URL to denote a remote connection.- See Also:
-
BACKEND_JNDI_URL_INTRO
intro in URL to denote a JNDI connection.- See Also:
-
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:
-
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:
-
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:
-
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:
-
CN_ID
name of ID column.- See Also:
-
AN_ID
java name of ID.- See Also:
-
CN_SERIAL
name of serial column.- See Also:
-
AN_SERIAL
java name of serial.- See Also:
-
CN_TABLESERIAL
name of tableserial column.- See Also:
-
AN_TABLESERIAL
java name of tableserial.- See Also:
-
CN_CLASSID
name of class-ID column.- See Also:
-
AN_CLASSID
java name class-ID.- See Also:
-
CN_ROOTID
name of root-ID column.- See Also:
-
AN_ROOTID
java name root-ID.- See Also:
-
CN_ROOTCLASSID
name of root-class-ID column.- See Also:
-
AN_ROOTCLASSID
java name root-class-ID.- See Also:
-
CN_EDITEDBY
the object ID of the user currently editing this object.- See Also:
-
AN_EDITEDBY
java name of the editing user.- See Also:
-
CN_EDITEDSINCE
time when editing started.- See Also:
-
AN_EDITEDSINCE
java name of time editing started.- See Also:
-
CN_EDITEDEXPIRY
time when "lock token" will expire.- See Also:
-
AN_EDITEDEXPIRY
java name of time "lock token" will expire.- See Also:
-
CN_NORMTEXT
column name for the normtext.- See Also:
-
AN_NORMTEXT
java name for the normtext.- See Also:
-
BIND_MAXCOLS
bind option MAXCOLS = ...- See Also:
-
BIND_COLS
bind option COLS = ...- See Also:
-
BIND_SCALE
bind option SCALE = ...- See Also:
-
BIND_UNSIGNED
bind option UNSIGNED.- See Also:
-
BIND_DIGITS
bind option digits only.- See Also:
-
BIND_UC
bind option uppercase.- See Also:
-
BIND_LC
bind option lowercase.- See Also:
-
BIND_AUTOSELECT
bind option autoselect field.- See Also:
-
BIND_UTC
bind timestamp with UTC option.- See Also:
-
BIND_LINES
bind option LINES = ...- See Also:
-
BMONEY_DIGITS
public static final int BMONEY_DIGITSmaximum number of significant digits for BMoney.- See Also:
-
DMONEY_DIGITS
public static final int DMONEY_DIGITSmaximum number of significant digits for DMoney.- See Also:
-
SECOND_MS
public static final long SECOND_MSa second in milliseconds.- See Also:
-
MINUTE_MS
public static final long MINUTE_MSa minute in milliseconds.- See Also:
-
HOUR_MS
public static final long HOUR_MSan hour in milliseconds.- See Also:
-
DAY_MS
public static final long DAY_MSa day in milliseconds.- See Also:
-
DIGITS
All digits in a string.- See Also:
-