public final class DataType extends Object implements Serializable
DataType
class represents the data types of fields that are supported by the AR System.Modifier and Type | Field and Description |
---|---|
static DataType |
ATTACHMENT
Attachment field.
|
static DataType |
ATTACHMENT_POOL
Attachment pool field.
|
static DataType |
BITMASK
32-bit unsigned integer value in which each bit represents a flag turned on or off.
|
static DataType |
BYTES
List of bytes containing binary data.
|
static DataType |
CHAR
Null-terminated string that requires freeing allocated space.
|
static DataType |
COLUMN
Column field.
|
static DataType |
CONTROL
Control field.
|
static DataType |
COORDS
List of (x,y) coordinate pairs.
|
static DataType |
CURRENCY
Currency field.
|
static DataType |
DATE
Date field.
|
static DataType |
DECIMAL
Fixed-point decimal field.
|
static DataType |
DIARY
Null-terminated string that requires freeing allocated space.
|
static DataType |
DISPLAY
Specifies a display field (e.g., flashboards; character data).
|
static DataType |
ENUM
Set of integer values (beginning with zero)that represent possible selection values as an indexed list.
|
static DataType |
INTEGER
32-bit signed integer data type.
|
static DataType |
JOIN
Join field
|
static DataType |
KEYWORD
Integer identifying the particular keyword
|
static DataType |
NULL
Specifies
NULL value. |
static DataType |
PAGE
Page field.
|
static DataType |
PAGE_HOLDER
Page holder field.
|
static DataType |
REAL
64-bit floating-point data type.
|
static DataType |
TABLE
Table field.
|
static DataType |
TIME
UNIX®-style date/time stamp (number of seconds since midnight January 1,1970).
|
static DataType |
TIME_OF_DAY
Specifies time (number of seconds since midnight).
|
static DataType |
TRIM
Trim field.
|
static DataType |
ULONG
32-bit unsigned integer value.
|
static DataType |
VALUELIST |
static DataType |
VIEW
Specifies a view field (character data).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the
provided one.
|
int |
hashCode()
Returns the hash code value for this instance of the current class.
|
static DataType |
toDataType(int type)
Returns an data type object from a constant.
|
int |
toInt()
Returns an integer representation of the data type.
|
String |
toString()
Returns a string description of the object.
|
public static final DataType NULL
NULL
value.public static final DataType KEYWORD
public static final DataType INTEGER
public static final DataType REAL
public static final DataType CHAR
AR_DATA_TYPE_NULL
.public static final DataType DIARY
AR_DATA_TYPE_NULL
.public static final DataType ENUM
public static final DataType TIME
public static final DataType BITMASK
public static final DataType BYTES
public static final DataType DECIMAL
public static final DataType ATTACHMENT
public static final DataType CURRENCY
public static final DataType DATE
public static final DataType TIME_OF_DAY
public static final DataType JOIN
public static final DataType TRIM
public static final DataType CONTROL
public static final DataType TABLE
public static final DataType COLUMN
public static final DataType PAGE
public static final DataType PAGE_HOLDER
public static final DataType ATTACHMENT_POOL
public static final DataType ULONG
public static final DataType COORDS
public static final DataType VIEW
public static final DataType DISPLAY
public static final DataType VALUELIST
public static DataType toDataType(int type)
type
- constantpublic int toInt()
public boolean equals(Object obj)
public String toString()
public int hashCode()
? Copyright 2013 BMC Software, Inc.