Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: 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, Table

Included Services - Summary
Descriptor
(referenced entity's summary:)
is used to create a new object within a database.
Properties' Summary
long
Type
is the ::com::sun::star::sdbc::DataType of the column.  
string
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.  
long
Precision
gets a column's number of decimal digits.  
long
Scale
gets a column's number of digits to right of the decimal point.  
long
IsNullable
indicates the nullability of values in the designated column.  
boolean
IsAutoIncrement
indicates whether the column is automatically numbered, thus read-only.  
boolean
IsRowVersion
[ OPTIONAL ]
indicates that the column contains some kind of time or date stamp used to track updates.  
string
Description
[ OPTIONAL ]
keeps a description of the object.  
string
DefaultValue
[ OPTIONAL ]
keeps a default value for a column, is provided as string.  
string
AutoIncrementCreation
[ OPTIONAL ]
specifies how to create an autoincrement column.  
Included Services - Details
Descriptor
(referenced entity's summary:)
is used to create a new object within a database.
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;
Usage Restrictions
optional
Description
indicates that the column contains some kind of time or date stamp used to track updates.
Description
string Description;
Usage Restrictions
optional
Description
keeps a description of the object.
DefaultValue
string DefaultValue;
Usage Restrictions
optional
Description
keeps a default value for a column, is provided as string.
AutoIncrementCreation
string AutoIncrementCreation;
Usage Restrictions
optional
Description
specifies how to create an autoincrement column.

 
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.