(incubating) | The Free and Open Productivity Suite

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous

Content for OpenOffice.org version 3.3.

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

service Column
Description
describes the common properties of a database column.
Developers Guide
Database - Column Service

Exported Interfaces - Summary
XDataDescriptorFactory

optional, could be used to copy a database column. (details)

::com::sun::star::beans::XPropertySet
(referenced entity's summary:)
provides information about and access to the properties from an implementation.
Properties' Summary
[ readonly ] string
Name
is the name of the column.  
[ readonly ] long
Type
is the ::com::sun::star::sdbc::DataType of the column.  
[ readonly ] 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. Note: May be empty.  
[ readonly ] long
Precision
gets a column's number of decimal digits.  
[ readonly ] long
Scale
gets a column's number of digits to right of the decimal point.  
[ readonly ] long
IsNullable
indicates the nullability of values in the designated column.  
[ readonly ] boolean
IsAutoIncrement
indicates whether the column is automatically numbered, thus read-only.  
[ readonly ] boolean
IsCurrency
indicates whether the column is a cash value.  
[ readonly ] boolean
IsRowVersion
[ OPTIONAL ]
indicates that the column contains some kind of time or date stamp used to track updates.  
[ readonly ] string
Description
[ OPTIONAL ]
keeps a description of the object.  
[ readonly ] string
DefaultValue
[ OPTIONAL ]
keeps a default value for a column, is provided as string.  
Exported Interfaces - Details
XDataDescriptorFactory
Usage Restrictions
optional
Description
optional, could be used to copy a database column.
::com::sun::star::beans::XPropertySet
(referenced entity's summary:)
provides information about and access to the properties from an implementation.
Properties' Details
Name
[ readonly ] string Name;
Description
is the name of the column.
Type
[ readonly ] long Type;
Description
is the ::com::sun::star::sdbc::DataType of the column.
TypeName
[ readonly ] 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. Note: May be empty.
Precision
[ readonly ] long Precision;
Description
gets a column's number of decimal digits.
Scale
[ readonly ] long Scale;
Description
gets a column's number of digits to right of the decimal point.
IsNullable
[ readonly ] long IsNullable;
Description
indicates the nullability of values in the designated column.
See also
::com::sun::star::sdbc::ColumnValue
IsAutoIncrement
[ readonly ] boolean IsAutoIncrement;
Description
indicates whether the column is automatically numbered, thus read-only.
See also
::com::sun::star::sdbc::ColumnValue
IsCurrency
[ readonly ] boolean IsCurrency;
Description
indicates whether the column is a cash value.
IsRowVersion
[ readonly ] boolean IsRowVersion;
Usage Restrictions
optional
Description
indicates that the column contains some kind of time or date stamp used to track updates.
Description
[ readonly ] string Description;
Usage Restrictions
optional
Description
keeps a description of the object.
DefaultValue
[ readonly ] string DefaultValue;
Usage Restrictions
optional
Description
keeps a default value for a column, is provided as string.

 
Top of Page

Apache OpenOffice is an effort undergoing incubation at The Apache Software Foundation (ASF), sponsored by the Apache Incubator. Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects. While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.

Copyright & License
Apache and the Apache feather logos are trademarks of The Apache Software Foundation. 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.