Methods' Summary |
getComposedName |
returns the composed table name, including the catalog and schema name,
respecting the database's quoting requirements, plus
|
setComposedName |
sets a new composed table name
|
Attributes' Summary |
CatalogName |
denotes the name of the catalog which the table is a part of
|
SchemaName |
denotes the name of the schema which the table is a part of
|
TableName |
denotes the mere, unqualified table name, excluding any catalog and
schema.
|
NameForSelect |
represents the table name in a form to be used in a SELECT statement.
|
Table |
is the ::com::sun::star::sdb::Table object specified
by the current name.
|
Methods' Details |
getComposedName
- Description
- returns the composed table name, including the catalog and schema name,
respecting the database's quoting requirements, plus
- Parameter Type
- the type of name composition to be used.
- Parameter Quote
- specifies whether the single parts of the table name should be quoted
- Throws
- com::sun::star::IllegalArgumentException
if the given Type does not denote a valid CompositionType
- See also
- CompositionType
|
|
setComposedName
void |
setComposedName( |
[in] string |
ComposedName, |
| [in] long |
Type ); |
- Description
- sets a new composed table name
- Parameter ComposedName
- specifies the composed table name
- Parameter Type
- specifies the composition type which was used to create the composed table name
|
|
Attributes' Details |
CatalogName
string CatalogName;
- Description
- denotes the name of the catalog which the table is a part of
|
|
SchemaName
string SchemaName;
- Description
- denotes the name of the schema which the table is a part of
|
|
TableName
string TableName;
- Description
- denotes the mere, unqualified table name, excluding any catalog and
schema.
|
|
NameForSelect
[ readonly ] string NameForSelect;
- Description
- represents the table name in a form to be used in a
SELECT statement.
On a per-data-source basis, OpenOffice.org allows to override database meta
data information in that you can specify to not use catalog and or schema names
in SELECT statements. Using this attribute, you can generate a table
name which respects those settings.
- See also
- ::com::sun::star::sdb::DataSource::Settings
|
|
Table
::com::sun::star::beans::XPropertySet Table
- get raises (::com::sun::star::container::NoSuchElementException)
- set raises (::com::sun::star::lang::IllegalArgumentException);
- Description
- is the ::com::sun::star::sdb::Table object specified
by the current name.
Retrieving this attribute is equivalent to obtaining the tables
container from the connection (via ::com::sun::star::sdbcx::XTablesSupplier),
and calling its ::com::sun::star::container::XNameAccess::getByName
method with the ComposedName.
- Throws
- com::sun::star::container::NoSuchElementException
if, upon getting the attribute value, the current composed table name
represented by this instance does not denote an existing table in the database.
- Throws
- com::sun::star::lang::IllegalArgumentException
if you try to set an object which does not denote a table from the underlying
database.
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.