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 Container
Description
describes every container which is used for data definition. Each container must support access to its elements by the element's name or by the element's position.

Simple enumeration must be supported as well.

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

A container may support the possibility to add new elements or to drop existing elements. Additions are always done by descriptors which define the properties of the new element.


Exported Interfaces - Summary
::com::sun::star::container::XNameAccess
(referenced entity's summary:)
is used to access named objects within a container.
::com::sun::star::container::XIndexAccess
(referenced entity's summary:)
provides access to the elements of a collection through an index.
::com::sun::star::container::XEnumerationAccess
(referenced entity's summary:)
used to enumerate objects in a container which contains objects.
::com::sun::star::util::XRefreshable

is optional for implementation. Used to reflect changes. (details)

XDataDescriptorFactory

optional for implementation. Allows to create descriptor elements which then could be used to append new elements. (details)

XAppend

optional for implementation, provides the possibility of adding a new element to the container. (details)

XDrop

optional for implementation, provides the possibility of dropping an element from the container. (details)

Exported Interfaces - Details
::com::sun::star::container::XNameAccess
(referenced entity's summary:)
is used to access named objects within a container.
::com::sun::star::container::XIndexAccess
(referenced entity's summary:)
provides access to the elements of a collection through an index.
::com::sun::star::container::XEnumerationAccess
(referenced entity's summary:)
used to enumerate objects in a container which contains objects.
::com::sun::star::util::XRefreshable
Usage Restrictions
optional
Description
is optional for implementation. Used to reflect changes.
XDataDescriptorFactory
Usage Restrictions
optional
Description
optional for implementation. Allows to create descriptor elements which then could be used to append new elements.
XAppend
Usage Restrictions
optional
Description
optional for implementation, provides the possibility of adding a new element to the container.
XDrop
Usage Restrictions
optional
Description
optional for implementation, provides the possibility of dropping an element from the container.

 
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.