Feeling really good about getting the logic for the add component worked out. Will need to be refactored a bit, but think its smooth and workable. Even a little crispy.
So let's see if I can explain this.
Create an analysis object. Internal to that object there is an analysiscomponentlist and a second one that is not alterable. The two of them work together to determine any changes by the user.
When you save the analysis it calls a persist method that then compares the two lists.
The user adds, updates or removes from the public componentlist.
Same thing will happen for specifications. Instead of treating them as component specifications, I am treating them as analysis specifications - with the intent that they are tightly coupled to a component.
Thursday, September 24, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment