Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Creating and Initializing Events | Structure Data Fields | Getting Structure Field Values
Getting Structure Field Values
Getting a Struct Field as an Event
Getting a Struct Sequence Field
Two methods, BrokerEvent.getStructFieldAsEvent and BrokerEvent.getStructSeqFieldAsEvents, are provided for obtaining some or all of the values from a structure field in a single method call. The first method obtains all of the values of a single structure field and the second method obtains all the values from a sequence of structure fields.
You can also use the BrokerEvent.get<type>Field to obtain the value of a single field within a structure field by specifying the appropriate field name.