www.element4solution.com

e4s.db.systabledef
Class E4DecimalSign

java.lang.Object
  extended by e4s.util.E4Object
      extended by e4s.util.E4String
          extended by e4s.db.systabledef.E4DecimalSign
All Implemented Interfaces:
java.lang.Comparable

public class E4DecimalSign
extends E4String

Data access for E4DecimalSign: Definition for Decimal Sign, related to Client/User. created: 20041215 064246, modified: 20080128 113833.

See Also:
T_E4S_CLIENT_Sel.COL_DECIMALSIGN, T_E4S_COMPANY_USER_Sel.COL_DECIMALSIGN, V_E4S_USERS_Sel.COL_DECIMALSIGN

Field Summary
static E4DBColumnType _DATATYPE
          Datatype definition when used in tables.
static E4DecimalSign C_COMMA
          Constant definition for C_COMMA: Comma (,).
static E4DecimalSign C_POINT
          Constant definition for C_POINT: Point (.).
static char INSTANCE_MODE
           
static java.lang.String LABEL_C_COMMA
          E4Label definition for C_COMMA.
static java.lang.String LABEL_C_POINT
          E4Label definition for C_POINT.
static int LEN
          User defined length for E4String datatype.
static boolean NULLABLE
           
 
Fields inherited from class e4s.util.E4String
CLASSNAME, m_maxsize, m_nullable, m_string
 
Fields inherited from class e4s.util.E4Object
CRLF, E4S_CORE_SYSTEM_LANGUAGE, NBSP, NULLSTR, URL_ENCODING_CHARSET
 
Method Summary
static java.lang.String _getSVNVersionString()
          Return the version info patched by CVS.
static E4DecimalSign[] CONSTANTS()
          Get an array for all constant definitions within this type.
 boolean equals(E4DecimalSign obj)
          Compare this object against another object using the == operator.
 java.lang.String Format(double d)
           
static java.lang.String Format(double d, E4DecimalSign ds)
           
static java.lang.String Format(double d, E4DecimalSign ds, int digits)
           
 java.lang.String Format(double d, int digits)
           
 java.lang.String Format(float f)
           
static java.lang.String Format(float f, E4DecimalSign ds)
           
static java.lang.String Format(float f, E4DecimalSign d, int digits)
           
 java.lang.String Format(float f, int digits)
           
static E4DecimalSign getInstance(char ch)
           
static E4DecimalSign getInstance(E4CgiParams params, E4InputFieldName_Intf paramname)
          Construct an object for E4DecimalSign.
static E4DecimalSign getInstance(E4String initval)
          Get or construct an object for E4DecimalSign.
static E4DecimalSign getInstance(java.lang.String initval)
          Get or construct an object for E4DecimalSign.
static E4DecimalSign getInstance(java.lang.StringBuffer initval)
          Get or construct an object for E4DecimalSign.
static java.lang.String getLabel(E4DecimalSign val)
          Get an label associated optional with each constant.
static E4DBTypeUsage[] getUsage()
          List of tables where this datatype is used.
static E4SelectValues OPTION()
          Option list for E4DecimalSign.
static java.text.DecimalFormat toDecimalFormat(E4DecimalSign d)
           
static java.text.DecimalFormat toDecimalFormat(E4DecimalSign d, int digits)
           
 boolean validateIsConstant()
          Validator for E4DecimalSign.
 
Methods inherited from class e4s.util.E4String
_equals, charAt, clone, compareTo, compareTo, compareTo, compareToIgnoreCase, compareToIgnoreCase, concat, concat, concat, concat, concat, cut, cut, endsWith, endsWith, equals, equals, equalsIgnoreCase, equalsIgnoreCase, fixed, fixedRight, getMaxSize, getNullable, getString, hashCode, indexOf, indexOf, indexOf, indexOf, indexOf, indexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, lastIndexOf, left, left, length, matches, matchesIgnoreCase, regionMatches, regionMatches, regionMatches, regionMatches, remove, removeSpaces, removeSpaces, replace, replace, replace, replace, replace, replaceIgnoreCase, right, right, setMaxSize, setNullable, setString, startsWith, startsWith, startsWith, startsWith, substring, substring, toCharArray, toLowerCase, toLowerCase, toString, toUpperCase, toUpperCase, trim, validate
 
Methods inherited from class e4s.util.E4Object
Calendar, CName, CName, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelApp, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelNone, E4LabelSys, E4LabelSys, e4sCopyright, e4sVersion, encode, encode, encode, encodeHtml, encodeHtml, encodeHtml, encodeURL, encodeURL, encodeURL, finalize, getLINE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTRACE, getTraceMemory, HtmlEncode, HtmlEncode, HtmlEncode, isdecimal, isdigit, isnotok, isnotok, isnumeric, isok, isok, isok, isok, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingFunction, lastCallingStack, mkdirs, null2nbsp, null2nbsp, null2nbsp, ok, ok, ok, ok, outPrintln, setLogFile4Trace, setTraceMemory, STACKTRACE, toDebug, toDouble, toFloat, toFloat, TRACE_CALLS, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, TRACE, wait
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

LEN

public static final int LEN
User defined length for E4String datatype.

See Also:
Constant Field Values

_DATATYPE

public static final E4DBColumnType _DATATYPE
Datatype definition when used in tables.


NULLABLE

public static final boolean NULLABLE
See Also:
Constant Field Values

INSTANCE_MODE

public static final char INSTANCE_MODE
See Also:
Constant Field Values

C_COMMA

public static final E4DecimalSign C_COMMA
Constant definition for C_COMMA: Comma (,).

See Also:
LABEL_C_COMMA

C_POINT

public static final E4DecimalSign C_POINT
Constant definition for C_POINT: Point (.).

See Also:
LABEL_C_POINT

LABEL_C_COMMA

public static final java.lang.String LABEL_C_COMMA
E4Label definition for C_COMMA.

See Also:
C_COMMA, Constant Field Values

LABEL_C_POINT

public static final java.lang.String LABEL_C_POINT
E4Label definition for C_POINT.

See Also:
C_POINT, Constant Field Values
Method Detail

getInstance

public static E4DecimalSign getInstance(java.lang.String initval)
Get or construct an object for E4DecimalSign.

Parameters:
initval - value for initialization
Returns:
null if initval is null or an existing or new instance of E4DecimalSign

getInstance

public static E4DecimalSign getInstance(E4String initval)
Get or construct an object for E4DecimalSign.

Parameters:
initval - value for initialization
Returns:
an existing or new instance of E4DecimalSign

getInstance

public static E4DecimalSign getInstance(java.lang.StringBuffer initval)
Get or construct an object for E4DecimalSign.

Parameters:
initval - value for initialization
Returns:
an existing or new instance of E4DecimalSign

getInstance

public static E4DecimalSign getInstance(E4CgiParams params,
                                        E4InputFieldName_Intf paramname)
Construct an object for E4DecimalSign. The parameters must contain a value that is not null and not "".

Parameters:
params - the E4CgiParams
name - the CgiParameter paramname
Returns:
an existing or new created instance of E4DecimalSign

getUsage

public static E4DBTypeUsage[] getUsage()
List of tables where this datatype is used.

Returns:
null if not used in a table, an array of objects of class E4DBTypeUsage with associated tables.

validateIsConstant

public boolean validateIsConstant()
Validator for E4DecimalSign.


CONSTANTS

public static E4DecimalSign[] CONSTANTS()
Get an array for all constant definitions within this type.


OPTION

public static E4SelectValues OPTION()
Option list for E4DecimalSign.

See Also:
SELECT

getLabel

public static java.lang.String getLabel(E4DecimalSign val)
Get an label associated optional with each constant.


equals

public boolean equals(E4DecimalSign obj)
Compare this object against another object using the == operator.


_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Return the version info patched by CVS.


getInstance

public static E4DecimalSign getInstance(char ch)

Format

public java.lang.String Format(float f)

Format

public java.lang.String Format(double d)

Format

public java.lang.String Format(float f,
                               int digits)

Format

public java.lang.String Format(double d,
                               int digits)

Format

public static java.lang.String Format(float f,
                                      E4DecimalSign ds)

Format

public static java.lang.String Format(double d,
                                      E4DecimalSign ds)

Format

public static java.lang.String Format(double d,
                                      E4DecimalSign ds,
                                      int digits)

Format

public static java.lang.String Format(float f,
                                      E4DecimalSign d,
                                      int digits)

toDecimalFormat

public static java.text.DecimalFormat toDecimalFormat(E4DecimalSign d)

toDecimalFormat

public static java.text.DecimalFormat toDecimalFormat(E4DecimalSign d,
                                                      int digits)

www.element4solution.com