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) { // ... }
Parent topic: Programming interfaces
Related reference
BOChangeSummary
BOCopy
BODataObject
BOEventSummary
BOFactory
BOType
BOTypeMetadata
BOXMLDocument
BOXMLSerializer
Related information
Interface BOEquality APIs
Last updated: Tue Sep 20 03:22:36 2005
Copyright IBM Corporation 2005.
This information center is powered by Eclipse technology (http://www.eclipse.org)