Class Constants


  • public class Constants
    extends Object
    Class holding constants for build- and runtime.
    Author:
    harald
    • 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
      • BACKEND_PROPS

        public static final String BACKEND_PROPS
        name of property file holding the backend properties.
        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_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:

        1. @user or @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 @user and system preferences for @system
        2. @user:backendname or @system:backendname: loads the configuration for the backend with the given name from the user- or system-preferences, respectively
        3. a property file name: loads the settings from the given property file
        If missing, the properties from the BACKEND_PROPS and optional user input are used.
        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 the BackendConfiguration.
        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 the BackendConfiguration.
        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 via BACKEND_INFO_USER or BACKEND_INFO_SYSTEM.
        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_EDITEDEXPIRY

        public static final String AN_EDITEDEXPIRY
        java name of time "lock token" will expire.
        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
      • 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