This set of topics outlines the steps the adapter takes
when creating, retrieving, updating, or deleting a business object. The
adapter processes hierarchical business objects recursively; that
is, it performs the same steps for each child business object until
it has processed all individual business objects.
Business object comparison
At various
points in the business object verb operations, the adapter compares
two business objects to see if they are the same. For example, during
an update operation, the adapter determines whether a particular
business object exists in an array of business objects. To perform
the check, the adapter compares the business object to each business
object within the array. For two business objects to be identical,
the following two conditions must be satisfied:
- The
type of the business objects being compared must be the same. For
example, a Customer business object is never considered identical
to a Contact business object, even if all of their attributes are
exactly the same.
- All corresponding key attributes in the two business objects
must contain identical values. If a key attribute is not set in
both business objects, the adapter considers them identical, However,
if a key attribute is set in one business object, but not in the
other, the business objects are not identical.