org.eclipse.birt.report.model.api.util
Class CompaibilityUtil

java.lang.Object
  extended byorg.eclipse.birt.report.model.api.util.CompaibilityUtil

public class CompaibilityUtil
extends java.lang.Object

Provides the backward compatibility for the user. Now support:

Backward compatibilty is different from other operations. It does not support undo/redo and won't send out events.


Constructor Summary
CompaibilityUtil()
           
 
Method Summary
static void updateResultSetinCachedMetaData(DataSetHandle setHandle, java.util.List resultColumns)
          Updates CachedMetaData.resultSet property with the given data set and the list of result set columns.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompaibilityUtil

public CompaibilityUtil()
Method Detail

updateResultSetinCachedMetaData

public static void updateResultSetinCachedMetaData(DataSetHandle setHandle,
                                                   java.util.List resultColumns)
                                            throws SemanticException
Updates CachedMetaData.resultSet property with the given data set and the list of result set columns.

Parameters:
setHandle - the data set
resultColumns - a list containing result set columns. Each item in the list is ResultSetColumn
Throws:
SemanticException - if any result set column in the list has invalid values.


Copyright © 2005 Actuate Corp. All rights reserved.