Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314783

Summary: Add indicator for host-specific default values in ODA Design Session model
Product: [Tools] Data Tools Reporter: Linda Chan <lchan>
Component: Open Data AccessAssignee: Linda Chan <lchan>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.8   
Target Milestone: 1.8.1   
Hardware: PC   
OS: Windows Server 2003   
Whiteboard:

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.