Tag Archive for 'getuid()'

01
Nov

Creating unique identifiers for objects using the getUID() method

The following example shows how you can use the static UIDUtil.getUID() method to generate and retreive a unique identifier for an Object. The first time you click the Display UID button, an Alert control displays the generated UID and a string representation of the Object (yay ObjectUtil.toString()!). The second time you click the Display UID button, you’ll notice that a new parameter is added to the Object, mx_internal_uid.

Full code after the jump.

Continue reading ‘Creating unique identifiers for objects using the getUID() method’