Broker 10.5 | webMethods Broker Documentation | webMethods Broker Client Java API Programmer's Guide | Creating and Initializing Events | Creating Events | General Event Methods
 
General Event Methods
After creating an event, you can use the BrokerEvent copy constructor to create a new event, copying the contents of an existing event to the new event.
Use the BrokerEvent.hasBeenModified method to determine whether the contents of an event have been modified.
Use the BrokerEvent.clearModificationFlag method to mark an event as having not been modified.
Use the BrokerEvent.setModificationFlag method to mark an event as having been modified.
Use the BrokerEvent.toString method to format an event's fields into a string.
Use the BrokerEvent.toFormattedString method to format selected event fields into a string. One version of this method allows you to specify the Locale you want to be used in formatting the string.
Use the BrokerEvent.toLocalizedFormattedString method to format selected event fields into a string using the Locale that you specify.
Use the BrokerEvent.toLocalizedString method to format selected event fields into a string using the current Locale.
Use the BrokerEvent.getClient method to obtain the Broker client associated with an event.