Accessors for class IliSchema

Properties

Methods

Description

The IliSchema class defines an object that has an ordered collection of columns. Each column has a name, a data type, and some other attributes. This class serves as a base class for IliTable class. The IliTable class defines an object that manages a set of rows with the same schema.

TypeNameDescriptionNotes
IntcolumnsCountContains the number of columns.read-only
IliColumngetColumn(String colname)Returns the description of the column named colname. Note that the columns become properties of the schema so that the following are equivalent:
	schema.getColumn("NAME")
	schema.NAME

Note that if this schema object is part of a more specialized class (such as IliMemoryTable or IliSQLTable), it returns an object whose class is a subclass of IliColumn (such as IliTableColumn or IliSQLTableColumn). This is also the case with the getColumnAt method.
IliColumngetColumnAt(Int colno)Returns the description of the column positioned at colno. The colno parameter must be >= 0 and < columnsCount. The same remark regarding the type of the returned value as stated in the description of method getColumn also holds true for this method.