Skip to content

Instantly share code, notes, and snippets.

@debreuil
Created October 21, 2010 20:33
Show Gist options
  • Save debreuil/639290 to your computer and use it in GitHub Desktop.
Save debreuil/639290 to your computer and use it in GitHub Desktop.
override public function areObjectsEqual(accountVO1:AdminDataVO, accountVO2:AdminDataVO):Boolean
{
var result:Boolean = false;
if( (accountVO1.password == accountVO2.password ) &&
(accountVO1.email == accountVO2.email ) &&
(accountVO1.serverID == accountVO2.serverID ) &&
(accountVO1.dataSetID == accountVO2.dataSetID ) &&
(accountVO1.pluginMixID == accountVO2.pluginMixID ) &&
(accountVO1.adminPluginMixID == accountVO2.adminPluginMixID ) &&
(accountVO1.isSuspended == accountVO2.isSuspended ))
{
result = true;
}
return result;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment