compare()

Compares a specified business object with the current business object, based on the verb set, attribute count, application-specific information for the business object, and the attributes and attribute values.

Syntax

public boolean compare(CWConnectorBusObj theBusObj);
 

Parameters

theBusObj
Is the business object to compare with the current business object.

Return values

Returns true if all of the following information in the busObj object match those in the current business object:

For each failure, the method logs a message and returns false.

Exceptions

AttributeNotFoundException
Thrown if an attribute is not found in the definition of this business object.

WrongAttributeException
Thrown if the attribute types are invalid for the attributes being compared.

Copyright IBM Corp. 1997, 2003