Overview | Module | Use | Devguide | Index

Included Services | Exported Interfaces | Properties' Summary | Properties' Details

:: com :: sun :: star :: sdbcx ::
service ColumnDescriptor
Description describes the common properties of a database column. Could be used for the creation of a database columns within a table. See also Column See also Table

Included Services
Descriptor | is used to create a new object within a database.

Properties' Summary
Type | is the ::com::sun::star::sdbc::DataType of the column.
TypeName | is the type name used by the database. If the column type is a user-defined type, then a fully-qualified type name is returned. May be empty.
Precision | gets a column's number of decimal digits.
Scale | gets a column's number of digits to right of the decimal point.
IsNullable | indicates the nullability of values in the designated column.
IsAutoIncrement | indicates whether the column is automatically numbered, thus read-only.
IsRowVersion | [ OPTIONAL ] indicates that the column contains some kind of time or date stamp used to track updates.
Description | [ OPTIONAL ] keeps a description of the object.
DefaultValue | [ OPTIONAL ] keeps a default value for a column, is provided as string.
AutoIncrementCreation | [ OPTIONAL ] specifies how to create an autoincrement column.

Properties' Details
Type
long Type; Description is the ::com::sun::star::sdbc::DataType of the column.
TypeName
string TypeName; Description is the type name used by the database. If the column type is a user-defined type, then a fully-qualified type name is returned. May be empty.
Precision
long Precision; Description gets a column's number of decimal digits.
Scale
long Scale; Description gets a column's number of digits to right of the decimal point.
IsNullable
long IsNullable; Description indicates the nullability of values in the designated column. See also ::com::sun::star::sdbc::ColumnValue
IsAutoIncrement
boolean IsAutoIncrement; Description indicates whether the column is automatically numbered, thus read-only. See also ::com::sun::star::sdbc::ColumnValue
IsRowVersion
boolean IsRowVersion; [ OPTIONAL ] Description indicates that the column contains some kind of time or date stamp used to track updates.
Description
string Description; [ OPTIONAL ] Description keeps a description of the object.
DefaultValue
string DefaultValue; [ OPTIONAL ] Description keeps a default value for a column, is provided as string.
AutoIncrementCreation
string AutoIncrementCreation; [ OPTIONAL ] Description specifies how to create an autoincrement column.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.