> -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf > Of Hal Helms > Sent: Tuesday, October 18, 2005 11:40 AM > To: [email protected] > Subject: RE: [CFCDev] Easy way to check if oneCFC == twoCFC? > > I have a BaseComponent that creates an objectID (a UUID) for all objects > during objectcreation. Then I have an isEqual method in the BaseComponent > that compares objectIDs.
That's exactly what I do. The ID also useful in those cases where you want to lock access to the instance (you can use the ID as a lock name). Jim Davis ---------------------------------------------------------- You are subscribed to cfcdev. To unsubscribe, send an email to [email protected] with the words 'unsubscribe cfcdev' as the subject of the email. CFCDev is run by CFCZone (www.cfczone.org) and supported by CFXHosting (www.cfxhosting.com). CFCDev is supported by New Atlanta, makers of BlueDragon http://www.newatlanta.com/products/bluedragon/index.cfm An archive of the CFCDev list is available at www.mail-archive.com/[email protected]
