This interface provides the ability to determine if two business graphs or business objects are equivalent.
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.
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) { // ... }
Last updated: Tue Feb 21 17:57:08 2006
(c) Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)