1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 module com
{ module sun
{ module star
{ module container
{
21 published
interface XNameAccess
;
24 module com
{ module sun
{ module star
{ module sdbc
{
27 /** is used for the standard mapping for a SQL structured type.
33 object contains a value for each attribute
34 of the SQL structured type that it represents.
35 By default, an instance of
37 is valid as long as the
38 application has a reference to it.
41 published
interface XStruct
: com
::sun
::star
::uno
::XInterface
44 /** retrieves the SQL type name of the SQL structured type
49 the name of the SQL type.
51 if a database access error occurs.
53 string getSQLTypeName
() raises
(SQLException
);
56 /** produces the ordered values of the attributes of the SQL
57 structured type that this
61 This method uses the given type map for customizations of the type
62 mappings. If there is no entry in the given type map that matches or
65 , the structured type that this
67 object represents, the driver uses
68 the connection type mapping.
70 is a map object that contains mappings of SQL type names to
72 <code>typeMap</code>is
75 associated with the connection for customizations of the type-mappings
78 an array containing the ordered attribute values.
80 if a database access error occurs.
82 sequence
<any
> getAttributes
([in]com
::sun
::star
::container
::XNameAccess typeMap
)
83 raises
(SQLException
);
89 /*===========================================================================
90 ===========================================================================*/
92 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */