BOEquality

This interface provides the ability to determine if two business graphs or business objects are equivalent.

Purpose

BOEquality supports equality of business graphs or business objects. The default form of equality is deep, but a shallow form can also be used. Therefore, you can determine if two business graphs or business objects are equivalent based on including various levels of descendants.

Example

This example shows how to use BOEquality.

BOEquality equalityService =
(BOEquality) newServiceManager().locateService("com/ibm/websphere/bo/BOEquality");
		
// Deep equality check.	
if (equalityService.isEqual(dataObject1, dataObject2) == true) {
    // ...
}
// Shallow equality check.
if (equalityService.isEqualShallow(dataObject1, dataObject2) == true) {
    // ...
}
Related reference
BOChangeSummary
BOCopy
BODataObject
BOEventSummary
BOFactory
BOType
BOTypeMetadata
BOXMLDocument
BOXMLSerializer
Related information
Interface BOEquality APIs

Terms of use |

Last updated: Thu Apr 27 15:50:14 2006

(c) Copyright IBM Corporation 2006.
This information center is powered by Eclipse technology (http://www.eclipse.org)