Class Constants
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 (only for desktop applications).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 Stringsend a keep alive select every BACKEND_TIMEOUT minutes.static final Stringproperty key for the password.static final Stringname of property file holding the backend properties.static final Stringproperty key for the optional schemas.static final Stringdatabase connection inactivity timeout in minutes.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 FILLER='...' or FILLER=0x...static final Stringbind option lowercase.static final Stringbind option LINES=...static final Stringbind option MAXCOLS=...static final Stringbind option SCALE=...static final Stringbind option to remove leading and trailing filler characters (default for text components).static final Stringbind option to remove leading filler characters.static final Stringbind option to turn off stripping.static final Stringbind option to remove trailing filler characters.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
-
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
-
SUPPRESS_WARNINGS_STATEFUL_DOMAIN_LOGIC
suppress warnings for suspicious stateful domain logic.- See Also:
-
NAME_NONE
-
NAME_UNKNOWN
-
PROPS_EXTENSION
-
BACKEND_PROPS
name of property file holding the backend properties.- See Also:
-
BACKEND_URL
-
BACKEND_DRIVER
explicit driver name and url to load it from <name:url>.- See Also:
-
BACKEND_TIMEOUT
database connection inactivity timeout in minutes.- See Also:
-
BACKEND_KEEP_ALIVE
send a keep alive select every BACKEND_TIMEOUT minutes.- See Also:
-
BACKEND_SCHEMAS
-
BACKEND_USER
-
BACKEND_PASSWORD
-
BACKEND_AUTOLOGIN
property key to enable autologin (only for desktop applications).- See Also:
-
BACKEND_JDBC_URL_INTRO
intro in URL to denote a JDBC 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
-
AN_ID
-
CN_SERIAL
-
AN_SERIAL
-
CN_TABLESERIAL
-
AN_TABLESERIAL
-
CN_CLASSID
-
AN_CLASSID
-
CN_ROOTID
-
AN_ROOTID
-
CN_ROOTCLASSID
-
AN_ROOTCLASSID
-
CN_EDITEDBY
the object ID of the user currently editing this object.- See Also:
-
AN_EDITEDBY
-
CN_EDITEDSINCE
-
AN_EDITEDSINCE
-
CN_EDITEDEXPIRY
-
AN_EDITEDEXPIRY
-
CN_NORMTEXT
-
AN_NORMTEXT
-
BIND_MAXCOLS
-
BIND_COLS
-
BIND_SCALE
-
BIND_UNSIGNED
-
BIND_DIGITS
-
BIND_UC
-
BIND_LC
-
BIND_STRIP_NONE
-
BIND_STRIP_LEFT
bind option to remove leading filler characters.- See Also:
-
BIND_STRIP_RIGHT
bind option to remove trailing filler characters.- See Also:
-
BIND_STRIP_BOTH
bind option to remove leading and trailing filler characters (default for text components).- See Also:
-
BIND_AUTOSELECT
-
BIND_UTC
-
BIND_LINES
-
BIND_FILLER
bind option FILLER='...' or FILLER=0x... (seeInteger.decode(String)).- 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
-