NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

suggestions on how to compare changes in attribute values?

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
anna_a



Joined: 02 Jul 2009
Posts: 9

PostPosted: Thu Jul 02, 2009 7:55 am    Post subject: suggestions on how to compare changes in attribute values? Reply with quote

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.





PostPosted: Thu Jul 02, 2009 11:33 pm    Post subject: suggestions on how to compare changes in attribute values? Reply with quote

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

PostPosted: Fri Jul 03, 2009 10:55 am    Post subject: Reply with quote

thank you, I will try that!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo