Top   Module   Use   Manual   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
com::sun::star::sdbcx::Column
See also
com::sun::star::sdbcx::Table


Included Services

com::sun::star::sdbcx::Descriptor

Properties' Summary

Type is the 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.

Properties' Details

Type
 
long Type;
Description
is the 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.

Top of Page