Setting Structure Fields
Two methods, BrokerEvent.setStructFieldFromEvent and BrokerEvent.setStructSeqFieldFromEvents, are provided for setting all of the values within a structure field. The first method sets the entire contents of a single structure field and the second method sets the entire contents of a sequence of structure fields.
You can also use the BrokerEvent.set<type>Field to set the value of a single field within a structure field by specifying the appropriate field name.