public enum EventFieldType extends Enum<EventFieldType>
Enum Constant and Description |
---|
CHAR
This type can be used for
char properties. |
DATE
This type can be used for
int properties that store number of days since Java Epoch. |
DECIMAL
This type can be used for all primitive properties.
|
DEFAULT
Auto-detect type.
|
INT
This type can be used for all primitive properties and reference types using
ClassValueMapping annotaiton. |
MARSHALLED
This type can be used for all reference properties.
|
SHORT_STRING
This type can be used for
String properties. |
STRING
This type can be used for
String properties. |
TIME
This type can be used for
long properties that store time in milliseconds since Java Epoch. |
TRANSIENT
This field is not mapped to QD.
|
Modifier and Type | Method and Description |
---|---|
static EventFieldType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EventFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EventFieldType DEFAULT
public static final EventFieldType TRANSIENT
public static final EventFieldType TIME
long
properties that store time in milliseconds since Java Epoch.
It will be mapped to a QD field that keeps seconds since Java Epoch (milliseconds will be lost).public static final EventFieldType DATE
int
properties that store number of days since Java Epoch.public static final EventFieldType INT
ClassValueMapping
annotaiton.
It will be mapped to an integer QD field.public static final EventFieldType DECIMAL
public static final EventFieldType CHAR
char
properties.
It will be mapped to a char QD field.public static final EventFieldType SHORT_STRING
String
properties.
It will be mapped to a short-string QD field that can store up to four ASCII characters.public static final EventFieldType STRING
String
properties.
It will be mapped to a string QD field.public static final EventFieldType MARSHALLED
public static EventFieldType[] values()
for (EventFieldType c : EventFieldType.values()) System.out.println(c);
public static EventFieldType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2002-2020 Devexperts LLC. All Rights Reserved.