webMethods Broker Administration Java API
Version 9.5.1.0.171 091713

COM.activesw.api.client
Class BrokerField

java.lang.Object
  extended by COM.activesw.api.client.BrokerField

public class BrokerField
extends java.lang.Object

This class is a data structure giving a field's type and value.


Field Summary
protected static BrokerField NOT_FOUND
           
 short type
          The field type.
 java.lang.Object value
          The field value.
 
Constructor Summary
BrokerField()
          Create an empty field object.
BrokerField(short field_type, java.lang.Object field_value)
          Create an field object setting both the type and value.
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NOT_FOUND

protected static final BrokerField NOT_FOUND

type

public short type
The field type. Takes values such as BrokerTypeDef.FIELD_TYPE_INT.


value

public java.lang.Object 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 Detail

BrokerField

public BrokerField()
Create an empty field object.


BrokerField

public BrokerField(short field_type,
                   java.lang.Object field_value)
Create an field object setting both the type and value.


webMethods Broker Administration Java API
Version 9.5.1.0.171 091713


Copyright © 2001 - 2013 Software AG Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, United States of America, and/or their suppliers.