Class Constants


  • public class Constants
    extends java.lang.Object
    Class holding constants for build- and runtime.
    Author:
    harald
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String AN_CLASSID
      java name class-ID.
      static java.lang.String AN_EDITEDBY
      java name of the editing user.
      static java.lang.String AN_EDITEDEXPIRY
      java name of time "lock token" will expire.
      static java.lang.String AN_EDITEDSINCE
      java name of time editing started.
      static java.lang.String AN_ID
      java name of ID.
      static java.lang.String AN_NORMTEXT
      java name for the normtext.
      static java.lang.String AN_ROOTCLASSID
      java name root-class-ID.
      static java.lang.String AN_ROOTID
      java name root-ID.
      static java.lang.String AN_SERIAL
      java name of serial.
      static java.lang.String AN_TABLESERIAL
      java name of tableserial.
      static java.lang.String BACKEND_DRIVER
      explicit driver name and url to load it from <name:url>.
      static java.lang.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.
      static java.lang.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.
      static java.lang.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.
      static java.lang.String BACKEND_JDBC_URL_INTRO
      intro in URL to denote a JDBC connection.
      static java.lang.String BACKEND_JNDI_URL_INTRO
      intro in URL to denote a JNDI connection.
      static java.lang.String BACKEND_PASSWORD
      property key for the password.
      static java.lang.String BACKEND_PROPS
      name of property file holding the backend properties.
      static java.lang.String BACKEND_RMI_URL_INTRO
      intro in URL to denote a remote connection.
      static java.lang.String BACKEND_SCHEMAS
      property key for the optional schemas.
      static java.lang.String BACKEND_URL
      property key for the backend URL.
      static java.lang.String BACKEND_USER
      property key for username.
      static java.lang.String BIND_AUTOSELECT
      bind option autoselect field.
      static java.lang.String BIND_COLS
      bind option COLS = ...
      static java.lang.String BIND_LC
      bind option lowercase.
      static java.lang.String BIND_LINES
      bind option LINES = ...
      static java.lang.String BIND_MAXCOLS
      bind option MAXCOLS = ...
      static java.lang.String BIND_SCALE
      bind option SCALE = ...
      static java.lang.String BIND_UC
      bind option uppercase.
      static java.lang.String BIND_UNSIGNED
      bind option UNSIGNED.
      static java.lang.String BIND_UTC
      bind timestamp with UTC option.
      static int BMONEY_DIGITS
      maximum number of significant digits for BMoney.
      static java.lang.String BUNDLE_SERVICE_PATH
      the directory for resource bundle names.
      static java.lang.String CN_CLASSID
      name of class-ID column.
      static java.lang.String CN_EDITEDBY
      the object ID of the user currently editing this object.
      static java.lang.String CN_EDITEDEXPIRY
      time when "lock token" will expire.
      static java.lang.String CN_EDITEDSINCE
      time when editing started.
      static java.lang.String CN_ID
      name of ID column.
      static java.lang.String CN_NORMTEXT
      column name for the normtext.
      static java.lang.String CN_ROOTCLASSID
      name of root-class-ID column.
      static java.lang.String CN_ROOTID
      name of root-ID column.
      static java.lang.String CN_SERIAL
      name of serial column.
      static java.lang.String CN_TABLESERIAL
      name of tableserial column.
      static long DAY_MS
      a day in milliseconds.
      static java.lang.String DEFAULT_SERVICE_PATH
      the directory for default service provider configurations.
      static int DMONEY_DIGITS
      maximum number of significant digits for DMoney.
      static long HOUR_MS
      an hour in milliseconds.
      static java.lang.String MAPPED_SERVICE_PATH
      the directory for mapped service provider configurations.
      static long MINUTE_MS
      a minute in milliseconds.
      static java.lang.String NAME_NONE
      name for "none".
      static java.lang.String NAME_UNKNOWN
      unknown name.
      static java.lang.String ORIGIN_INFO_LEAD
      Heredocs may start with this lead followed by the source info.
      Same as in wurbelizer's Constants.
      static java.lang.String PROPS_EXTENSION
      extension for property files.
      static long SECOND_MS
      a second in milliseconds.
      static java.lang.String SUPPRESS_WARNINGS_STATEFUL_DOMAIN_LOGIC
      suppress warnings for suspicious stateful domain logic.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • MAPPED_SERVICE_PATH

        public static final java.lang.String MAPPED_SERVICE_PATH
        the directory for mapped service provider configurations.
        See Also:
        Constant Field Values
      • DEFAULT_SERVICE_PATH

        public static final java.lang.String DEFAULT_SERVICE_PATH
        the directory for default service provider configurations.
        See Also:
        Constant Field Values
      • BUNDLE_SERVICE_PATH

        public static final java.lang.String BUNDLE_SERVICE_PATH
        the directory for resource bundle names.
        See Also:
        Constant Field Values
      • SUPPRESS_WARNINGS_STATEFUL_DOMAIN_LOGIC

        public static final java.lang.String SUPPRESS_WARNINGS_STATEFUL_DOMAIN_LOGIC
        suppress warnings for suspicious stateful domain logic.
        See Also:
        Constant Field Values
      • NAME_NONE

        public static final java.lang.String NAME_NONE
        name for "none".
        See Also:
        Constant Field Values
      • NAME_UNKNOWN

        public static final java.lang.String NAME_UNKNOWN
        unknown name.
        See Also:
        Constant Field Values
      • PROPS_EXTENSION

        public static final java.lang.String PROPS_EXTENSION
        extension for property files.
        See Also:
        Constant Field Values
      • BACKEND_PROPS

        public static final java.lang.String BACKEND_PROPS
        name of property file holding the backend properties.
        See Also:
        Constant Field Values
      • BACKEND_URL

        public static final java.lang.String BACKEND_URL
        property key for the backend URL.
        See Also:
        Constant Field Values
      • BACKEND_DRIVER

        public static final java.lang.String BACKEND_DRIVER
        explicit driver name and url to load it from <name:url>.
        See Also:
        Constant Field Values
      • BACKEND_SCHEMAS

        public static final java.lang.String BACKEND_SCHEMAS
        property key for the optional schemas.
        See Also:
        Constant Field Values
      • BACKEND_USER

        public static final java.lang.String BACKEND_USER
        property key for username.
        See Also:
        Constant Field Values
      • BACKEND_PASSWORD

        public static final java.lang.String BACKEND_PASSWORD
        property key for the password.
        See Also:
        Constant Field Values
      • BACKEND_JDBC_URL_INTRO

        public static final java.lang.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 java.lang.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 java.lang.String BACKEND_JNDI_URL_INTRO
        intro in URL to denote a JNDI connection.
        See Also:
        Constant Field Values
      • BACKEND_INFO

        public static final java.lang.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 java.lang.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 java.lang.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
      • CN_SERIAL

        public static final java.lang.String CN_SERIAL
        name of serial column.
        See Also:
        Constant Field Values
      • AN_SERIAL

        public static final java.lang.String AN_SERIAL
        java name of serial.
        See Also:
        Constant Field Values
      • CN_TABLESERIAL

        public static final java.lang.String CN_TABLESERIAL
        name of tableserial column.
        See Also:
        Constant Field Values
      • AN_TABLESERIAL

        public static final java.lang.String AN_TABLESERIAL
        java name of tableserial.
        See Also:
        Constant Field Values
      • CN_CLASSID

        public static final java.lang.String CN_CLASSID
        name of class-ID column.
        See Also:
        Constant Field Values
      • AN_CLASSID

        public static final java.lang.String AN_CLASSID
        java name class-ID.
        See Also:
        Constant Field Values
      • CN_ROOTID

        public static final java.lang.String CN_ROOTID
        name of root-ID column.
        See Also:
        Constant Field Values
      • AN_ROOTID

        public static final java.lang.String AN_ROOTID
        java name root-ID.
        See Also:
        Constant Field Values
      • CN_ROOTCLASSID

        public static final java.lang.String CN_ROOTCLASSID
        name of root-class-ID column.
        See Also:
        Constant Field Values
      • AN_ROOTCLASSID

        public static final java.lang.String AN_ROOTCLASSID
        java name root-class-ID.
        See Also:
        Constant Field Values
      • CN_EDITEDBY

        public static final java.lang.String CN_EDITEDBY
        the object ID of the user currently editing this object.
        See Also:
        Constant Field Values
      • AN_EDITEDBY

        public static final java.lang.String AN_EDITEDBY
        java name of the editing user.
        See Also:
        Constant Field Values
      • CN_EDITEDSINCE

        public static final java.lang.String CN_EDITEDSINCE
        time when editing started.
        See Also:
        Constant Field Values
      • AN_EDITEDSINCE

        public static final java.lang.String AN_EDITEDSINCE
        java name of time editing started.
        See Also:
        Constant Field Values
      • CN_EDITEDEXPIRY

        public static final java.lang.String CN_EDITEDEXPIRY
        time when "lock token" will expire.
        See Also:
        Constant Field Values
      • AN_EDITEDEXPIRY

        public static final java.lang.String AN_EDITEDEXPIRY
        java name of time "lock token" will expire.
        See Also:
        Constant Field Values
      • CN_NORMTEXT

        public static final java.lang.String CN_NORMTEXT
        column name for the normtext.
        See Also:
        Constant Field Values
      • AN_NORMTEXT

        public static final java.lang.String AN_NORMTEXT
        java name for the normtext.
        See Also:
        Constant Field Values
      • BIND_MAXCOLS

        public static final java.lang.String BIND_MAXCOLS
        bind option MAXCOLS = ...
        See Also:
        Constant Field Values
      • BIND_COLS

        public static final java.lang.String BIND_COLS
        bind option COLS = ...
        See Also:
        Constant Field Values
      • BIND_SCALE

        public static final java.lang.String BIND_SCALE
        bind option SCALE = ...
        See Also:
        Constant Field Values
      • BIND_UNSIGNED

        public static final java.lang.String BIND_UNSIGNED
        bind option UNSIGNED.
        See Also:
        Constant Field Values
      • BIND_UC

        public static final java.lang.String BIND_UC
        bind option uppercase.
        See Also:
        Constant Field Values
      • BIND_LC

        public static final java.lang.String BIND_LC
        bind option lowercase.
        See Also:
        Constant Field Values
      • BIND_AUTOSELECT

        public static final java.lang.String BIND_AUTOSELECT
        bind option autoselect field.
        See Also:
        Constant Field Values
      • BIND_UTC

        public static final java.lang.String BIND_UTC
        bind timestamp with UTC option.
        See Also:
        Constant Field Values
      • BIND_LINES

        public static final java.lang.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
      • ORIGIN_INFO_LEAD

        public static final java.lang.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