Platform SDK Java 8.5 API Reference

com.genesyslab.platform.configuration.protocol.types
Class CfgDataType

java.lang.Object
  extended by com.genesyslab.platform.commons.GEnum
      extended by com.genesyslab.platform.configuration.protocol.types.CfgDataType

public class CfgDataType
extends GEnum


Field Summary
static CfgDataType CFGDTChar
          A character data type that holds a maximum of 255 characters.
static CfgDataType CFGDTDateTime
          A data base data type.
static CfgDataType CFGDTFloat
          A data base data type.
static CfgDataType CFGDTInt
          A data base data type that is an integer column that holds whole numbers between 231 -1 (that is, 2,147,483,647) and -231 (that is, -2,147,483,648), inclusive.
static CfgDataType CFGDTMaxDataType
          A maximum value of this enumeration.
static CfgDataType CFGDTNoDataType
          The value of corresponding parameter is not changed.
static CfgDataType CFGDTVarChar
          A data base data type, varchar(n) is a column of variable-length characters that holds any combination of up to 255 letters, symbols, and numbers.
 
Fields inherited from class com.genesyslab.platform.commons.GEnum
LOCALE_ENGLISH
 
Method Summary
static CfgDataType valueOf(int ordinal)
          Returns enumeration value by given ordinal number.
static CfgDataType valueOf(java.lang.String name)
          Returns enumeration value with specified name or null if no such value exists.
static java.util.Collection<CfgDataType> values()
          Returns all values of the enumeration.
 
Methods inherited from class com.genesyslab.platform.commons.GEnum
asInteger, enumSize, equals, equals, getEnumMap, getEnumValues, getValue, getValue, getValue, hashCode, name, ordinal, toString, valueOf, valueOf, values, valuesBy
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

CFGDTNoDataType

public static final CfgDataType CFGDTNoDataType
The value of corresponding parameter is not changed.


CFGDTInt

public static final CfgDataType CFGDTInt
A data base data type that is an integer column that holds whole numbers between 231 -1 (that is, 2,147,483,647) and -231 (that is, -2,147,483,648), inclusive.


CFGDTFloat

public static final CfgDataType CFGDTFloat
A data base data type. It is a floating-point column that holds positive or negative floating-point numbers. This column has 15-digit precision. The range of values is approximately 1.7E - 308 to 1.7E 308.


CFGDTChar

public static final CfgDataType CFGDTChar
A character data type that holds a maximum of 255 characters. Specify the maximum length with n. The char datatype can contain 0 characters, but when specified, n must be a value from 1 through 255. Storage size is n regardless of the actual length of the entry. Choose char when you think the data entries in the column will be consistently close to the same size. Columns of type char are accessed somewhat faster than varchar columns because they use a fixed storage length (n).


CFGDTVarChar

public static final CfgDataType CFGDTVarChar
A data base data type, varchar(n) is a column of variable-length characters that holds any combination of up to 255 letters, symbols, and numbers. Specify the maximum size of the column with n. A char column can contain 0 characters, but n must be between 1 and 255, inclusive. Storage size is the actual size of the data values entered, not n. Because of the way it uses space, varchar is best suited for data-like names, where the length of each entry can vary considerably. But varchar imposes more overhead than char, so if the length is fairly consistent, use char instead. Data of type varchar must be enclosed in single quotation marks when it is input. To have a truly empty sting, insert the keyword NULL rather than an empty string, such as ' '. You can use the LIKE keyword and wildcard characters with varchar. If you enter strings that are too long for the specified length, varchar entries are truncated.


CFGDTDateTime

public static final CfgDataType CFGDTDateTime
A data base data type. A datetime datatype is stored in 8 bytes of two 4-byte integers: 4 bytes for the number of days before or after the base date of January 1, 1900, and 4 bytes for the number of milliseconds after midnight. The date segments of datetime values representing dates prior to the base date are stored as negative values.


CFGDTMaxDataType

public static final CfgDataType CFGDTMaxDataType
A maximum value of this enumeration.

Method Detail

values

public static java.util.Collection<CfgDataType> values()
Returns all values of the enumeration.

Returns:
all enumeration values

valueOf

public static CfgDataType valueOf(int ordinal)
Returns enumeration value by given ordinal number.

Parameters:
ordinal - ordinal number of the enumeration value
Returns:
the enumeration value with given ordinal number or null

valueOf

public static CfgDataType valueOf(java.lang.String name)
Returns enumeration value with specified name or null if no such value exists.

Parameters:
name - name of value in the enumeration
Returns:
enumeration value with specified name or null

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.