org.eclipse.birt.data.engine.api.script
Interface IScriptDataSetMetaDataDefinition
public interface IScriptDataSetMetaDataDefinition
Interface for event handler to define a script data set's metadata.
The event handler calls the addColumn() method to add the definition
of its data set columns
Method Summary |
void |
addColumn(java.lang.String name,
java.lang.Class dataType)
Adds a column to the metadata definition. |
addColumn
void addColumn(java.lang.String name,
java.lang.Class dataType)
throws org.eclipse.birt.core.exception.BirtException
- Adds a column to the metadata definition. A column is required
to have a name and a data type. Acceptable data types are one of
these classes or their derived classes: Integer, Double, BigDecimal.
String, Date or byte[].
- Parameters:
name
- Name of column; must not be nulldataType
- data type of column; must be one of the supported types
listed in method description.
- Throws:
org.eclipse.birt.core.exception.BirtException
- if invalid name or data type is provided
Copyright © 2008 Actuate Corp. All rights reserved.