www.element4solution.com

e4s.db.freefield
Class E4DBFreeFieldType

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

public class E4DBFreeFieldType
extends E4String

Type definitions for free defined database fields, similar to E4DBColumnType.


Field Summary
static E4DBFreeFieldType _DATATYPE_BOOL
          Internal datatype for boolean values.
static E4DBFreeFieldType _DATATYPE_DATE
          Internal datatype for date values (can be day, time or day & time).
static E4DBFreeFieldType _DATATYPE_DATE_DATE
          Internal datatype for date-value (date only).
static E4DBFreeFieldType _DATATYPE_DATE_TIME
          Internal datatype for date-value (time only).
static E4DBFreeFieldType _DATATYPE_FLOAT
          Internal datatype for numeric, decimal values.
static E4DBFreeFieldType _DATATYPE_IMAGE
          Internal datatype for image.
static E4DBFreeFieldType _DATATYPE_INT
          Internal datatype for numeric, non decimal values.
static E4DBFreeFieldType _DATATYPE_STRING
          Internal datatype for String, length maximal 255.
 
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()
          Get version info string from subversion.
 java.lang.String getColumnType()
           
 boolean isDate()
           
 boolean isNumeric()
           
static E4DBFreeFieldType toColumnType(java.lang.String s)
          Convert from a string into a column-type object.
 
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

_DATATYPE_DATE_DATE

public static final E4DBFreeFieldType _DATATYPE_DATE_DATE
Internal datatype for date-value (date only). Java: java.util.Date


_DATATYPE_DATE_TIME

public static final E4DBFreeFieldType _DATATYPE_DATE_TIME
Internal datatype for date-value (time only). Java: java.util.Date


_DATATYPE_IMAGE

public static final E4DBFreeFieldType _DATATYPE_IMAGE
Internal datatype for image. Java: String


_DATATYPE_STRING

public static final E4DBFreeFieldType _DATATYPE_STRING
Internal datatype for String, length maximal 255. Java: String


_DATATYPE_INT

public static final E4DBFreeFieldType _DATATYPE_INT
Internal datatype for numeric, non decimal values. Java: long


_DATATYPE_FLOAT

public static final E4DBFreeFieldType _DATATYPE_FLOAT
Internal datatype for numeric, decimal values. Java: float


_DATATYPE_BOOL

public static final E4DBFreeFieldType _DATATYPE_BOOL
Internal datatype for boolean values. Java: boolean


_DATATYPE_DATE

public static final E4DBFreeFieldType _DATATYPE_DATE
Internal datatype for date values (can be day, time or day & time). Java: java.util.Date

Method Detail

toColumnType

public static E4DBFreeFieldType toColumnType(java.lang.String s)
Convert from a string into a column-type object.

Parameters:
s - the string.
Returns:
the column type.
See Also:
e4s.db.freefield.E4DBFreeFields#toColumnType(String)

getColumnType

public java.lang.String getColumnType()

isDate

public boolean isDate()

isNumeric

public boolean isNumeric()

_getSVNVersionString

public static java.lang.String _getSVNVersionString()
Get version info string from subversion.

Returns:
the version info string.
See Also:
E4Util.getRevisionCodeFromSVN(Class)

www.element4solution.com