Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Method Detail

### addColumn

    void addColumn(java.lang.String name,
                   java.lang.Class dataType)
                   throws 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 null
    `dataType` - data type of column; must be one of the supported types listed in method description.
  Throws:
    `BirtException` - if invalid name or data type is provided

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2008 Actuate Corp. All rights reserved.