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

service Column
Description
describes the common properties of a database column.
Developers Guide
12.4.3 Database Access - Database Design - Using SDBCX to Access the Database Design - Column Service

Exported Interfaces
XDataDescriptorFactory
[ OPTIONAL ]
Description
optional, could be used to copy a database column.
::com::sun::star::beans::XPropertySet
provides information about and access to the properties from an implementation.
Properties' Summary
Name is the name of the column.
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. Note: 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.
IsCurrency indicates whether the column is a cash value.
IsRowVersion [ OPTIONAL ]
indicates that the column contains some kind of time or date stamp used to track updates. @optional
Description [ OPTIONAL ]
keeps a description of the object. @optional
DefaultValue [ OPTIONAL ]
keeps a default value for a column, is provided as string. @optional
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;
[ OPTIONAL ]
Description
indicates that the column contains some kind of time or date stamp used to track updates. @optional
Description
[ readonly ] string Description;
[ OPTIONAL ]
Description
keeps a description of the object. @optional
DefaultValue
[ readonly ] string DefaultValue;
[ OPTIONAL ]
Description
keeps a default value for a column, is provided as string. @optional

 
Top of Page