Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Creating and Initializing Events | Event Data Fields | Field Data Types
 
Field Data Types
The following table shows the data types used by client applications for regular, sequence struct, and event data fields.
Event Type Editor Type
Java Language Type
Description
boolean
boolean
1 (true) or 0 (false), stored as a single byte.
byte
byte
Signed 8-bit integer.
char
char
A single character.
date
BrokerDate
An object representing the year, month, day, hour, minute, second, and millisecond.
double
double
Double-precision floating point number.
event
A separate, previously defined, event type.
float
float
Standard-precision floating point number.
int
int
Signed 32-bit integer.
long
long
Signed 64-bit integer.
sequence
Sequence of any regular data types (such as, boolean, byte, char, date, etc.)
short
short
Signed 16-bit integer.
string
String
A string of characters.
struct
A set of basic Java types
unicode char
char
Used for unicode, char (double byte)
unicode string
String
Used for unicode, double byte
unknown
If the application is unable to identify a field, then it is categorized at "unknown."
Use the BrokerTypeDef.getFieldType method to obtain an event field's type.