|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BOEquality
The BOEquality interface represents the client programming model interface for the BOEquality service. The BOEquality service can be used to determine if two Business Objects contain equivalent contents.
Field Summary | |
---|---|
static java.lang.String |
COPYRIGHT
|
Method Summary | |
---|---|
boolean |
isEqual(commonj.sdo.DataObject businessObject1,
commonj.sdo.DataObject businessObject2)
Performs a deep comparison of the contents of the two Business Objects. |
boolean |
isEqualShallow(commonj.sdo.DataObject businessObject1,
commonj.sdo.DataObject businessObject2)
Performs a shallow comparison of the contents of the two Business Objects. |
Field Detail |
---|
static final java.lang.String COPYRIGHT
Method Detail |
---|
boolean isEqual(commonj.sdo.DataObject businessObject1, commonj.sdo.DataObject businessObject2)
BOEquality boEquality = (BOEquality) new ServiceManager().locateService("com/ibm/websphere/bo/BOEquality");
boolean isEqual = boEquality.isEqual(customer1, customer2);
businessObject1
- First Business Object to compare for equalitybusinessObject2
- Second Business Object to compare for equality
true
if the two Business Object are equivalent
and false
if they are notboolean isEqualShallow(commonj.sdo.DataObject businessObject1, commonj.sdo.DataObject businessObject2)
BOEquality boEquality = (BOEquality) new ServiceManager().locateService("com/ibm/websphere/bo/BOEquality");
boolean isEqualShallow = boEquality.isEqualShallow(customer1, customer2);
businessObject1
- First Business Object to compare for equalitybusinessObject2
- Second Business Object to compare for equality
true
if the two Business Object are equivalent
and false
if they are not
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |