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

java.lang.Object
  extended by org.eclipse.birt.report.model.api.util.DataTypeConvertUtil

public class DataTypeConvertUtil
extends java.lang.Object

The utility class to convert values between parameter type choices and column data type choices.


Constructor Summary
DataTypeConvertUtil()
           
 
Method Summary
static java.lang.String converToColumnDataType(java.lang.String paramType)
          Returns the corresponding column data type choice with the given parameter type.
static java.lang.String converToParamType(java.lang.String columnType)
          Returns the corresponding parameter type choice with the given column data type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataTypeConvertUtil

public DataTypeConvertUtil()
Method Detail

converToParamType

public static java.lang.String converToParamType(java.lang.String columnType)
Returns the corresponding parameter type choice with the given column data type. The column data type values are defined in DesignChoiceConstants can be one of the followings:

Parameters:
columnType - the column data type
Returns:
the parameter type

converToColumnDataType

public static java.lang.String converToColumnDataType(java.lang.String paramType)
Returns the corresponding column data type choice with the given parameter type. The column data type values are defined in DesignChoiceConstants can be one of the followings:

Parameters:
paramType - the parameter type
Returns:
the column data type


Copyright © 2008 Actuate Corp. All rights reserved.