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 :: sdb :: application ::

unpublished struct NamedDatabaseObject
Usage Restrictions
not published
Description
denotes a named database object, or a named folder of database objects
Since
OOo 3.0

Elements' Summary
Type denotes the type of the object.  
Name denotes the name of the object  
Elements' Details
Type
long Type;
Description
denotes the type of the object.

This member is one of the DatabaseObject or DatabaseObjectContainer constants.

Name
string Name;
Description
denotes the name of the object

In case of forms, reports, form folders and report folders, this is the hierarchical path to the object, where the path elements are separated by a slash (/).

In case of tables, this is the fully qualified name of the table, as required by the database's table name composition rules.

In case of queries, this is the name of the query.

In case of virtual folders denoted by DatabaseObjectContainer::CATALOG and DatabaseObjectContainer::SCHEMA, it is

  • <schema>, if the database supports schemas only
  • <catalog>, if the database supports catalogs only
  • <catalog>.<schema>, if the database supports both catalogs and schemas, and catalogs are to appear at the beginning of an identifier.
  • <schema>.<catalog>, if the database supports both catalogs and schemas, and catalogs are to appear at the end of an identifier.

In case of the virtual folders denoted by DatabaseObjectContainer::TABLES, DatabaseObjectContainer::QUERIES, DatabaseObjectContainer::DATA_SOURCE, DatabaseObjectContainer::FORMS or DatabaseObjectContainer::REPORTS, this denotes the name of the data source (as denoted by ::com::sun::star::sdb::DataSource::Name)

See also
XDatabaseMetaData::isCatalogAtStart, DatabaseObjectContainer
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.