Bug 212505 Use default script ID to skip script debugging
In Dte side, when compile or evaluate java script, it would pass in a script source id. This kind of id is currenlty used by report script debugger. So to skip redundant processing for such kind of internal script evaluating, dte need pass in a default ID, which is defined as ScriptExpression.defaultID. If this id is already used for particular meaning and it can not pass in the default ID, we need define them as public constants and let script debugger check and skip them as well.
engine/org.eclipse.birt.report.engine/src/org/eclipse/birt/report/engine/adapter/ModelDteApiAdapter.java
import org.mozilla.javascript.Scriptable;
/**
 * An adapter class that creates data engine API interface objects from the
 * model.api objects for data set and data source definition.
 * 
 * The user of this adaptor can optionally provide an associated ExecutionContext
 * object and a Javascript scope. ExecutionContext is used to provide a context
 * for executing data source and data set event handlers. The Javascript scope
 * is used to evaluate data source and data set binding expressions. If a scope
 * is not provided, data source and data set bindings will not take effect.
 */
public class ModelDteApiAdapter
{
	private ExecutionContext context;
	private Scriptable jsScope;
	
	private DataRequestSession dteSession;
	/**
	 * @deprecated Construct an instance of this class directly
	 */
	public static ModelDteApiAdapter getInstance( )
	{
		return new ModelDteApiAdapter( );
	}
	/**
	 * @deprecated use createDataSourceDesign( dataSource )
	 */
	public IBaseDataSourceDesign createDataSourceDesign(
			DataSourceHandle dataSource, ExecutionContext context )
			throws EngineException