Previous Topic

Book Contents

Book Index

Next Topic

Comparing Objects

In object programming, if you want to find out whether two object instances you hold are identical,  you can’t put a simple statement A=B, since this way you wouldn’t compare the objects themselves but the pointers leading to the objects, which differ in the majority of cases. Therefore, to compare objects, you should use the following method, provided by most object classes (ApiBObject, ApiUser, ApiRule, ApiGuiViewOfToMany, ...):

ApiObject.equals(ApiObject)

Returns TRUE if the objects are identical.

See Also

API

Getting Started With Valuemation API

Setting Up Valuemation Environment

Working in Transactions

Monikers

Category Browser

Containers and Collections