Package COM.activesw.api.client
Class BrokerField
java.lang.Object
COM.activesw.api.client.BrokerField
This class is a data structure giving a field's type and value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected static final BrokerField
short
The field type.The field value. -
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty field object.BrokerField
(short field_type, Object field_value) Create an field object setting both the type and value. -
Method Summary
-
Field Details
-
NOT_FOUND
-
type
public short typeThe field type. Takes values such as BrokerTypeDef.FIELD_TYPE_INT. -
value
The field value. The object class depends on the type:
FIELD_TYPE_BYTE->Byte, FIELD_TYPE_SHORT->Short, FIELD_TYPE_INT->Integer, FIELD_TYPE_LONG->Long, FIELD_TYPE_FLOAT->Float, FIELD_TYPE_DOUBLE->Double, FIELD_TYPE_BOOLEAN->Boolean, FIELD_TYPE_DATE->BrokerDate, FIELD_TYPE_CHAR->Character, FIELD_TYPE_STRING->String, FIELD_TYPE_UNICODE_CHAR->Character, FIELD_TYPE_UNICODE_STRING->String, FIELD_TYPE_STRUCT->BrokerEvent
-
-
Constructor Details
-
BrokerField
public BrokerField()Create an empty field object. -
BrokerField
Create an field object setting both the type and value.
-