NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
anna_a
Joined: 02 Jul 2009 Posts: 9
|
Posted: Thu Jul 02, 2009 7:55 am Post subject: suggestions on how to compare changes in attribute values? |
|
|
Hi,
I'm fairly new at this and what I want to do is somehow store all my objects' attribute values, and then after an event has occurred (which will impact some of my objects' attribute values) I want to compare this new set of attribute values to the set previous to the event to see what attribute values have changed and what object they belong to.
Any suggestions would be greatly appreciated!
PS: I just wanna use "regular" netbeans and not mbeans or anything like that |
|
| Back to top |
|
 |
Melongo Annabel Posted via mailing list.
|
Posted: Thu Jul 02, 2009 11:33 pm Post subject: suggestions on how to compare changes in attribute values? |
|
|
I would recommend you use and session object in which you store your old object; then create another object, new object, that holds the initial value of the old object. Now after an event has occured, retrieve the old object in session and compare it with the new object....
From: anna_a <address-removed>
To: address-removed
Sent: Thursday, July 2, 2009 2:55:30 AM
Subject: [nbusers] suggestions on how to compare changes in attribute values?
Hi,
I'm fairly new at this and what I want to do is somehow store all my objects' attribute values, and then after an event has occurred (which will impact some of my objects' attribute values) I want to compare this new set of attribute values to the set previous to the event to see what attribute values have changed and what object they belong to.
Any suggestions would be greatly appreciated!
PS: I just wanna use "regular" netbeans and not mbeans or anything like that
------------------------
anna |
|
| Back to top |
|
 |
anna_a
Joined: 02 Jul 2009 Posts: 9
|
Posted: Fri Jul 03, 2009 10:55 am Post subject: |
|
|
| thank you, I will try that! |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You can attach files in this forum You can download files in this forum
|
|