org.pf.tools.cda.base
Class Module

java.lang.Object
  extended by org.pf.tools.cda.base.Module

public abstract class Module
extends java.lang.Object

Provides only static code and public constants which are relevant for several classes in the module this class represents.

Version:
1.0
Author:
M.Duchrow

Field Summary
static java.lang.String GLOBAL_VARIABLE_CONTAINER
          The name of the global object that holds all variable definitions and is able to do the placeholder replacement.
static java.lang.String ID
           
static java.lang.String VARNAME_CDA_HOME
           
static java.lang.String VENDOR
           
 
Method Summary
static Variables getGlobalVariables()
          Returns the global variable definitions
static java.lang.String getText(java.lang.String textId)
          Returns the localized text for the given key.
static java.lang.String getText(java.lang.String textId, java.lang.Object[] values)
          Returns the text identified by the given textId where all placeholders in the text are replaced by the objects specified in the given values array.
static void initialize()
          Loads the module's resource bundle for the default locale.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ID

public static final java.lang.String ID
See Also:
Constant Field Values

VENDOR

public static final java.lang.String VENDOR
See Also:
Constant Field Values

GLOBAL_VARIABLE_CONTAINER

public static final java.lang.String GLOBAL_VARIABLE_CONTAINER
The name of the global object that holds all variable definitions and is able to do the placeholder replacement.

See Also:
Constant Field Values

VARNAME_CDA_HOME

public static final java.lang.String VARNAME_CDA_HOME
See Also:
Constant Field Values
Method Detail

initialize

public static void initialize()
Loads the module's resource bundle for the default locale.


getText

public static java.lang.String getText(java.lang.String textId,
                                       java.lang.Object[] values)
Returns the text identified by the given textId where all placeholders in the text are replaced by the objects specified in the given values array.


getText

public static java.lang.String getText(java.lang.String textId)
Returns the localized text for the given key. If no text can be found for the given id the id itself will be returned unchanged.


getGlobalVariables

public static Variables getGlobalVariables()
Returns the global variable definitions