org.eclipse.birt.report.model.api.extension
Interface ICompatibleReportItem


public interface ICompatibleReportItem

Represents an instance of a extended report element that can work with the bound data columns.

ICompatibleReportItem is responsible for providing backward compatibility for the extended item. Parts of migration work from BIRT 2.1M5 to BIRT 2.1.0 for bound data columns.


Method Summary
 java.util.List getRowExpressions()
          Returns a list containing the possible JavaScript expressions.
 void updateRowExpressions(java.util.Map newExpressions)
          Updates existed expresssions with the given expressions.
 

Method Detail

getRowExpressions

public java.util.List getRowExpressions()
Returns a list containing the possible JavaScript expressions. During parsing the design file, this method is automatically called to add bound data columns so that the design file before BIRT 2.1.0 can be compatible with BIRT 2.1.0 or later.

Returns:
a list containing the possible expressions.

updateRowExpressions

public void updateRowExpressions(java.util.Map newExpressions)
Updates existed expresssions with the given expressions. The keys in newExpressions are existed expressions, while, the values are the new expressions to replace existed ones.

Parameters:
newExpressions - a map containing the updated expressions.


Copyright © 2005 Actuate Corp. All rights reserved.