:: com :: sun :: star :: sdb ::

service DefinitionContainer
Description
describes a container which provides access to database related definitions like commands, forms, and reports.

The container supports access to its elements by the elements name or by the elements position.

Simple enumeration must be supported as well.

To reflect the changes with the underlying database, a refresh mechanism needs to be supported.

Developers Guide
12.2.2 Database Access - Data Sources in <span class="T5">OpenOffice.org</span> API - DataSources - Queries - Adding and Editing Predefined Queries

Exported Interfaces
::com::sun::star::container::XNameAccess
is used to access named objects within a container.
::com::sun::star::container::XNameContainer
This is the generic interface for supporting the insertion and removal of named elements.
::com::sun::star::container::XIndexAccess
provides access to the elements of a collection through an index.
::com::sun::star::container::XEnumerationAccess
used to enumerate objects in a container which contains objects.
::com::sun::star::util::XRefreshable
[ OPTIONAL ]
Description
is used to refresh the container, to reflect changes in the underlying database.
::com::sun::star::lang::XSingleServiceFactory
[ OPTIONAL ]
Description
can be used to create container elements.

If this interface is supported, the object created using it (e.g., the object returned by XSingleServiceFactory::createInstance() ) can be used as container elements.


 
Top of Page