This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21038 - Handlers should be able to store its private information
Summary: Handlers should be able to store its private information
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Linux
: P2 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-03-01 08:21 UTC by Svata Dedic
Modified: 2002-07-19 15:23 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Svata Dedic 2002-03-01 08:21:45 UTC
If there's some info, which may be derived from the metamodel, the Handler
should be able to persist the information as its private data using the MDR
storage. Since the Handler is tightly coupled with a Storable, it seems logical
to allow persistence within the Storable rather than creating another
MDRepository object for that. Even in the later case, the Handler would need to
persist the ID of the supplemental object.
Comment 1 Martin Matula 2002-06-27 21:42:39 UTC
Tomas, you did this task so please mark it as fixed if you 
are confident that it works.
Comment 2 Tomas Zezula 2002-06-28 12:52:32 UTC
The MDRBaseObject has method putProperty, removeProperty, getProperty
to allow handlers to store persistently its own privite information.
The stored object must be stroable using MDR serialization.