Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314783 - Add indicator for host-specific default values in ODA Design Session model
Summary: Add indicator for host-specific default values in ODA Design Session model
Status: RESOLVED FIXED
Alias: None
Product: Data Tools
Classification: Tools
Component: Open Data Access (show other bugs)
Version: 1.8   Edit
Hardware: PC Windows Server 2003
: P3 normal (vote)
Target Milestone: 1.8.1   Edit
Assignee: Linda Chan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-27 18:00 EDT by Linda Chan CLA
Modified: 2010-06-10 20:10 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Linda Chan CLA 2010-05-27 18:00:39 EDT
Default values, such as those of an input parameter, may be specified on an ODA host designer, but are not convertible to a value format consumable by a custom ODA data set designer.  The ODA design session model would thus need a way to indicate that such host-specific default value exists, so that it can be honored and preserved in subsequent ODA design sessions.
Comment 1 Linda Chan CLA 2010-06-10 20:10:50 EDT
Enhanced the oda.design model to provide a new element CustomData to support the use case of specifying BIRT scripted expression for a default value .  It can be applied as one of the default values added to a ParameterDefinition's InputElementAttributes.StaticValues.
The content of a CustomData instance is specific to any provider of an ODA design session request or response, i.e. host or custom oda designer that would be identified with a providerId.  The class can be extended as needed for specialized behavior, as long as it is serializable as an EMF object. Its value is used only by its provider, but may be displayed in a string format by a non-provider component. 

Tagged with v201006110743.