Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 264300 - Support to specify multiple default values in oda design input parameter definition
Summary: Support to specify multiple default values in oda design input parameter defi...
Status: RESOLVED FIXED
Alias: None
Product: Data Tools
Classification: Tools
Component: Open Data Access (show other bugs)
Version: 1.6   Edit
Hardware: PC Windows 2000
: P3 enhancement (vote)
Target Milestone: 1.7M6   Edit
Assignee: Linda Chan CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 203940
  Show dependency tree
 
Reported: 2009-02-09 23:03 EST by Linda Chan CLA
Modified: 2009-02-11 21:59 EST (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 2009-02-09 23:03:00 EST
The current oda design schema definition for the InputElementAttributes element's defaultScalarValue attribute (contained in an input ParameterDefinition and ParameterFieldDefinition element, and in Property element) only accepts a single String value.
In some use cases (bug #203940), a single data set input parameter may collect multiple input values from an user.  Hence its design should also be able to specify multiple default values as well.
Comment 1 Linda Chan CLA 2009-02-11 21:59:45 EST
The oda.design.InputElementAttributes now supports multiple default values in any data type.  The previous single default value in string data type is deprecated; its corresponding methods provide backward compatibility.  The ODA framework implementation takes care of migrating instance data to the new collection of default values.   See class Javadoc for the new methods added; they are marked with @since 3.2 tag.
The filtering design class oda.design.FilterParameterDefinition now also accepts similar multiple default values for its static values and dynamic filter parameter definition.