toString()

Return the values of all attributes in a business object as a string.

Syntax

String toString()
 

Return values

A String object containing all attribute values contained in a business object.

Notes

The string that results from a call to this method is similar to the following example:

Name: GenEmployee
 Verb: Create
 Type: AfterImage
 Attributes: (Name, Type, Value)
  
 LastName:String, Davis
 FirstName:String, Miles
 SS#:String, 041-33-8989
 Salary:Float, 15.00
 ObjectEventId:String, MyConnector_922323619411_1
 

Examples

The following example returns a string containing the attribute values of the business object variable fromOrder.

String values = fromOrder.toString();
 

Copyright IBM Corp. 2003, 2004