- Summary:
Add auto column binding support feature to support the use of cascading
parameter
- Bugzilla Bug (s) Resolved:
N/A
- Description:
When user knows which columns are in data set and user likes to get the column
value without explicitly binding a name to a data set row _expression_, this flag
can be set as true to indicate it. For example, there is one column, COUNTRY. When
this flag is false, if user wants to get the value of COUNTRY, user first needs
to add a binding like <COUNTRY, dataSetRow.COUNTRY>, and then user can
get the value by the name of COUNTRY. But if this flag is set, user does not
need to add the binding, and then user can get the value directly. Currently
only when there is data set defined, this flag will have effect.
When there is a conflict between the auto-generated
name and the name added by user, the latter will have higher priority.
This feature can also be used in other cases, such as if
user only wants to get the column value of data set.
- Tests Description:
Junit Test
- Files Edited:
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/IQueryDefinition.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/api/querydefn/QueryDefinition.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryResults.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ResultIterator.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/ExprManager.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/IQueryService.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/QueryService.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/IResultService.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/script/JSDataSetImpl.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/i18n/ResourceConstants.java
/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/i18n/Messages.properties
/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/binding/ColumnBindingTest.java
- Files Added:
/org.eclipse.birt.data/test/org/eclipse/birt/data/engine/binding/golden/ColumnBindingTest.testAutoBinding.txt
- Notes to
Build Team:
N/A
- Notes to Developers:
N/A
- Notes to QA:
N/A
- Notes to
Documentation:
N/A