1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497
|
//-----------------------------------------------------------------------------
// Copyright (c) 2017, 2025, Oracle and/or its affiliates.
//
// This software is dual-licensed to you under the Universal Permissive License
// (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl and Apache License
// 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose
// either license.
//
// If you elect to accept the software under the Apache License, Version 2.0,
// the following applies:
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// https://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// test_2200_object_types.c
// Test suite for testing all the object type related cases.
//-----------------------------------------------------------------------------
#include "TestLib.h"
#define NUM_ATTRS 7
//-----------------------------------------------------------------------------
// dpiTest__verifyAttributeInfo() [INTERNAL]
// Verifies each field of dpiObjectAttrInfo.
//-----------------------------------------------------------------------------
int dpiTest__verifyAttributeInfo(dpiTestCase *testCase,
dpiObjectAttrInfo *attrInfo, const char *expectedName,
dpiOracleTypeNum expectedOracleTypeNum,
dpiNativeTypeNum expectedDefaultNativeTypeNum,
const char *expectedObjectTypeName)
{
dpiObjectTypeInfo typeInfo;
if (dpiTestCase_expectStringEqual(testCase, attrInfo->name,
attrInfo->nameLength, expectedName, strlen(expectedName)) < 0)
return DPI_FAILURE;
if (dpiTestCase_expectUintEqual(testCase, attrInfo->typeInfo.oracleTypeNum,
expectedOracleTypeNum) < 0)
return DPI_FAILURE;
if (dpiTestCase_expectUintEqual(testCase,
attrInfo->typeInfo.defaultNativeTypeNum,
expectedDefaultNativeTypeNum) < 0)
return DPI_FAILURE;
if (expectedObjectTypeName && !attrInfo->typeInfo.objectType)
return dpiTestCase_setFailed(testCase,
"Expected object type but got NULL");
if (!expectedObjectTypeName && attrInfo->typeInfo.objectType)
return dpiTestCase_setFailed(testCase,
"Expected no object type but got one");
if (expectedObjectTypeName && attrInfo->typeInfo.objectType) {
if (dpiObjectType_getInfo(attrInfo->typeInfo.objectType,
&typeInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTestCase_expectStringEqual(testCase, typeInfo.name,
typeInfo.nameLength, expectedObjectTypeName,
strlen(expectedObjectTypeName)) < 0)
return DPI_FAILURE;
}
return DPI_SUCCESS;
}
//-----------------------------------------------------------------------------
// dpiTest__verifyObjectTypeInfo() [INTERNAL]
// Verifies each field of dpiObjectTypeInfo.
//-----------------------------------------------------------------------------
int dpiTest__verifyObjectTypeInfo(dpiTestCase *testCase,
dpiObjectTypeInfo *typeInfo, const char *expectedSchemaName,
uint32_t expectedSchemaNameLength, const char * expectedName,
int expectedIsCollection, dpiOracleTypeNum expectedOracleTypeNum,
dpiNativeTypeNum expectedDefaultNativeTypeNum,
dpiObjectType *expectedObjectType, uint16_t expectedNumAttrs)
{
if (dpiTestCase_expectStringEqual(testCase, typeInfo->schema,
typeInfo->schemaLength, expectedSchemaName,
expectedSchemaNameLength) < 0)
return DPI_FAILURE;
if (dpiTestCase_expectStringEqual(testCase, typeInfo->name,
typeInfo->nameLength, expectedName, strlen(expectedName)) < 0)
return DPI_FAILURE;
if (dpiTestCase_expectUintEqual(testCase, typeInfo->isCollection,
expectedIsCollection) < 0)
return DPI_FAILURE;
if (dpiTestCase_expectUintEqual(testCase, typeInfo->numAttributes,
expectedNumAttrs) < 0)
return DPI_FAILURE;
if (dpiTestCase_expectUintEqual(testCase,
typeInfo->elementTypeInfo.oracleTypeNum,
expectedOracleTypeNum) < 0)
return DPI_FAILURE;
if (dpiTestCase_expectUintEqual(testCase,
typeInfo->elementTypeInfo.defaultNativeTypeNum,
expectedDefaultNativeTypeNum) < 0)
return DPI_FAILURE;
return DPI_SUCCESS;
}
//-----------------------------------------------------------------------------
// dpiTest_2200()
// Call dpiConn_getObjectType() with an invalid object type name (error).
//-----------------------------------------------------------------------------
int dpiTest_2200(dpiTestCase *testCase, dpiTestParams *params)
{
const char *expectedErrors[] = { "ORA-04043:", "OCI-22303:", NULL };
const char *objStr = "INVALID_OBJECT_TYPE";
dpiObjectType *objType;
dpiConn *conn;
if (dpiTestCase_getConnection(testCase, &conn) < 0)
return DPI_FAILURE;
dpiConn_getObjectType(conn, objStr, strlen(objStr), &objType);
return dpiTestCase_expectAnyError(testCase, expectedErrors);
}
//-----------------------------------------------------------------------------
// dpiTest_2201()
// Call dpiConn_getObjectType() with a valid object type name (no error).
//-----------------------------------------------------------------------------
int dpiTest_2201(dpiTestCase *testCase, dpiTestParams *params)
{
const char *objStr = "UDT_OBJECTDATATYPES";
dpiObjectType *objType;
dpiConn *conn;
if (dpiTestCase_getConnection(testCase, &conn) < 0)
return DPI_FAILURE;
if (dpiConn_getObjectType(conn, objStr, strlen(objStr), &objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiObjectType_release(objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
return DPI_SUCCESS;
}
//-----------------------------------------------------------------------------
// dpiTest_2202()
// Call dpiConn_getObjectType() with a valid object type name; call
// dpiObjectType_release() twice (error DPI-1002).
//-----------------------------------------------------------------------------
int dpiTest_2202(dpiTestCase *testCase, dpiTestParams *params)
{
const char *objStr = "UDT_OBJECTDATATYPES";
dpiObjectType *objType;
dpiConn *conn;
if (dpiTestCase_getConnection(testCase, &conn) < 0)
return DPI_FAILURE;
if (dpiConn_getObjectType(conn, objStr, strlen(objStr), &objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiObjectType_release(objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
dpiObjectType_release(objType);
return dpiTestCase_expectError(testCase, "DPI-1002:");
}
//-----------------------------------------------------------------------------
// dpiTest_2203()
// Call each public function for dpiObjectType with the objType parameter
// set to NULL (error DPI-1002).
//-----------------------------------------------------------------------------
int dpiTest_2203(dpiTestCase *testCase, dpiTestParams *params)
{
const char *expectedError = "DPI-1002:";
dpiObjectAttr *attributes[NUM_ATTRS];
dpiObjectTypeInfo info;
dpiObject *obj;
dpiObjectType_addRef(NULL);
if (dpiTestCase_expectError(testCase, expectedError) < 0)
return DPI_FAILURE;
dpiObjectType_createObject(NULL, &obj);
if (dpiTestCase_expectError(testCase, expectedError) < 0)
return DPI_FAILURE;
dpiObjectType_getAttributes(NULL, 0, attributes);
if (dpiTestCase_expectError(testCase, expectedError) < 0)
return DPI_FAILURE;
dpiObjectType_getInfo(NULL, &info);
if (dpiTestCase_expectError(testCase, expectedError) < 0)
return DPI_FAILURE;
dpiObjectType_release(NULL);
if (dpiTestCase_expectError(testCase, expectedError) < 0)
return DPI_FAILURE;
return DPI_SUCCESS;
}
//-----------------------------------------------------------------------------
// dpiTest_2204()
// Call dpiConn_getObjectType() with any valid object type name that has
// attributes; call dpiObjectType_getAttributes() with the numAttributes
// parameter set to a value smaller than the actual number of
// parameters (error DPI-1018).
//-----------------------------------------------------------------------------
int dpiTest_2204(dpiTestCase *testCase, dpiTestParams *params)
{
dpiObjectAttr *attributes[NUM_ATTRS];
const char *objStr = "UDT_OBJECT";
dpiObjectType *objType;
dpiConn *conn;
if (dpiTestCase_getConnection(testCase, &conn) < 0)
return DPI_FAILURE;
if (dpiConn_getObjectType(conn, objStr, strlen(objStr), &objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
dpiObjectType_getAttributes(objType, 5, attributes);
if (dpiTestCase_expectError(testCase, "DPI-1018:") < 0)
return DPI_FAILURE;
if (dpiObjectType_release(objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
return DPI_SUCCESS;
}
//-----------------------------------------------------------------------------
// dpiTest_2205()
// Call dpiConn_getObjectType() with any valid object type name that has
// attributes; call dpiObjectType_getAttributes() and call
// dpiObjectAttr_getInfo() on each attribute returned, verifying that the
// metadata matches expectations; ensure that at least one of the attributes is
// also an object type (no error).
//-----------------------------------------------------------------------------
int dpiTest_2205(dpiTestCase *testCase, dpiTestParams *params)
{
dpiObjectAttr *attributes[NUM_ATTRS];
const char *objStr = "UDT_OBJECT";
dpiObjectAttrInfo attrInfo;
dpiObjectTypeInfo typeInfo;
dpiObjectType *objType;
dpiConn *conn;
uint32_t i;
if (dpiTestCase_getConnection(testCase, &conn) < 0)
return DPI_FAILURE;
if (dpiConn_getObjectType(conn, objStr, strlen(objStr), &objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiObjectType_getInfo(objType, &typeInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiObjectType_getAttributes(objType, typeInfo.numAttributes,
attributes) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiObjectAttr_getInfo(attributes[0], &attrInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTest__verifyAttributeInfo(testCase, &attrInfo, "NUMBERVALUE",
DPI_ORACLE_TYPE_NUMBER, DPI_NATIVE_TYPE_DOUBLE, NULL) < 0)
return DPI_FAILURE;
if (dpiObjectAttr_getInfo(attributes[1], &attrInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTest__verifyAttributeInfo(testCase, &attrInfo, "STRINGVALUE",
DPI_ORACLE_TYPE_VARCHAR, DPI_NATIVE_TYPE_BYTES, NULL) < 0)
return DPI_FAILURE;
if (dpiObjectAttr_getInfo(attributes[2], &attrInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTest__verifyAttributeInfo(testCase, &attrInfo, "FIXEDCHARVALUE",
DPI_ORACLE_TYPE_CHAR, DPI_NATIVE_TYPE_BYTES, NULL) < 0)
return DPI_FAILURE;
if (dpiObjectAttr_getInfo(attributes[3], &attrInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTest__verifyAttributeInfo(testCase, &attrInfo, "DATEVALUE",
DPI_ORACLE_TYPE_DATE, DPI_NATIVE_TYPE_TIMESTAMP, NULL) < 0)
return DPI_FAILURE;
if (dpiObjectAttr_getInfo(attributes[4], &attrInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTest__verifyAttributeInfo(testCase, &attrInfo, "TIMESTAMPVALUE",
DPI_ORACLE_TYPE_TIMESTAMP, DPI_NATIVE_TYPE_TIMESTAMP, NULL) < 0)
return DPI_FAILURE;
if (dpiObjectAttr_getInfo(attributes[5], &attrInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTest__verifyAttributeInfo(testCase, &attrInfo, "SUBOBJECTVALUE",
DPI_ORACLE_TYPE_OBJECT, DPI_NATIVE_TYPE_OBJECT,
"UDT_SUBOBJECT") < 0)
return DPI_FAILURE;
if (dpiObjectAttr_getInfo(attributes[6], &attrInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTest__verifyAttributeInfo(testCase, &attrInfo, "SUBOBJECTARRAY",
DPI_ORACLE_TYPE_OBJECT, DPI_NATIVE_TYPE_OBJECT,
"UDT_OBJECTARRAY") < 0)
return DPI_FAILURE;
for (i = 0; i < NUM_ATTRS; i++) {
if (dpiObjectAttr_release(attributes[i]) < 0)
return dpiTestCase_setFailedFromError(testCase);
}
if (dpiObjectType_release(objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
return DPI_SUCCESS;
}
//-----------------------------------------------------------------------------
// dpiTest_2206()
// Call dpiConn_getObjectType() with a valid object type name that refers
// to a collection containing an object; call dpiObjectType_getInfo()
// and confirm that in the dpiObjectTypeInfo structure the isCollection
// attribute is set to 1 and that the numAttributes attribute is set to 0;
// verify the remaining attributes match expectations (no error).
//-----------------------------------------------------------------------------
int dpiTest_2206(dpiTestCase *testCase, dpiTestParams *params)
{
const char *objStr = "UDT_OBJECTARRAY";
dpiObjectTypeInfo typeInfo;
dpiObjectType *objType;
dpiConn *conn;
if (dpiTestCase_getConnection(testCase, &conn) < 0)
return DPI_FAILURE;
if (dpiConn_getObjectType(conn, objStr, strlen(objStr), &objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiObjectType_getInfo(objType, &typeInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTest__verifyObjectTypeInfo(testCase, &typeInfo,
params->mainUserName, params->mainUserNameLength, objStr, 1,
DPI_ORACLE_TYPE_OBJECT, DPI_NATIVE_TYPE_OBJECT, NULL, 0) < 0)
return DPI_FAILURE;
if (dpiObjectType_release(objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
return DPI_SUCCESS;
}
//-----------------------------------------------------------------------------
// dpiTest_2207()
// Call dpiConn_getObjectType() with a valid object type name that refers
// to a collection containing scalar values; call dpiObjectType_getInfo()
// and confirm that in the dpiObjectTypeInfo structure the isCollection
// attribute is set to 1 and that the numAttributes attribute is set to 0;
// verify the remaining attributes match expectations (no error).
//-----------------------------------------------------------------------------
int dpiTest_2207(dpiTestCase *testCase, dpiTestParams *params)
{
const char *objStr = "UDT_ARRAY";
dpiObjectTypeInfo typeInfo;
dpiObjectType *objType;
dpiConn *conn;
if (dpiTestCase_getConnection(testCase, &conn) < 0)
return DPI_FAILURE;
if (dpiConn_getObjectType(conn, objStr, strlen(objStr), &objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiObjectType_getInfo(objType, &typeInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTest__verifyObjectTypeInfo(testCase, &typeInfo,
params->mainUserName, params->mainUserNameLength, objStr, 1,
DPI_ORACLE_TYPE_NUMBER, DPI_NATIVE_TYPE_DOUBLE, NULL, 0) < 0)
return DPI_FAILURE;
if (dpiObjectType_release(objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
return DPI_SUCCESS;
}
//-----------------------------------------------------------------------------
// dpiTest_2208()
// Call dpiConn_getObjectType() with a valid object type name that refers to
// a type that is not a collection; call dpiObjectType_getInfo() and confirm
// that in the dpiObjectTypeInfo structure the isCollection attribute is set to
// 0; verify the remaining attributes match expectations (no error).
//-----------------------------------------------------------------------------
int dpiTest_2208(dpiTestCase *testCase, dpiTestParams *params)
{
const char *objStr = "UDT_OBJECT";
dpiObjectTypeInfo typeInfo;
dpiObjectType *objType;
dpiConn *conn;
if (dpiTestCase_getConnection(testCase, &conn) < 0)
return DPI_FAILURE;
if (dpiConn_getObjectType(conn, objStr, strlen(objStr), &objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiObjectType_getInfo(objType, &typeInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTest__verifyObjectTypeInfo(testCase, &typeInfo,
params->mainUserName, params->mainUserNameLength, objStr, 0, 0, 0,
NULL, NUM_ATTRS) < 0)
return DPI_FAILURE;
if (dpiObjectType_release(objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
return DPI_SUCCESS;
}
//-----------------------------------------------------------------------------
// dpiTest_2209()
// Call dpiConn_getObjectType() with a PL/SQL indexed-by-binary-integer table
// and validate the results from the call to dpiObjectType_getInfo() (no
// error).
//-----------------------------------------------------------------------------
int dpiTest_2209(dpiTestCase *testCase, dpiTestParams *params)
{
const char *objStr = "PKG_TESTNUMBERARRAYS.UDT_NUMBERLIST";
dpiObjectTypeInfo typeInfo;
dpiObjectType *objType;
dpiConn *conn;
if (dpiTestCase_setSkippedIfVersionTooOld(testCase, 0, 12, 1) < 0)
return DPI_FAILURE;
if (dpiTestCase_getConnection(testCase, &conn) < 0)
return DPI_FAILURE;
if (dpiConn_getObjectType(conn, objStr, strlen(objStr), &objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiObjectType_getInfo(objType, &typeInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTest__verifyObjectTypeInfo(testCase, &typeInfo,
params->mainUserName, params->mainUserNameLength, "UDT_NUMBERLIST",
1, DPI_ORACLE_TYPE_NUMBER, DPI_NATIVE_TYPE_DOUBLE, NULL, 0) < 0)
return DPI_FAILURE;
if (dpiObjectType_release(objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
return DPI_SUCCESS;
}
//-----------------------------------------------------------------------------
// dpiTest_2210()
// Call dpiConn_getObjectType() with a PL/SQL record type and validate the
// results from the call to dpiObjectType_getInfo() (no error).
//-----------------------------------------------------------------------------
int dpiTest_2210(dpiTestCase *testCase, dpiTestParams *params)
{
const char *objStr = "PKG_TESTRECORDS.UDT_RECORD";
dpiObjectTypeInfo typeInfo;
dpiObjectType *objType;
dpiConn *conn;
if (dpiTestCase_setSkippedIfVersionTooOld(testCase, 0, 12, 1) < 0)
return DPI_FAILURE;
if (dpiTestCase_getConnection(testCase, &conn) < 0)
return DPI_FAILURE;
if (dpiConn_getObjectType(conn, objStr, strlen(objStr), &objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiObjectType_getInfo(objType, &typeInfo) < 0)
return dpiTestCase_setFailedFromError(testCase);
if (dpiTest__verifyObjectTypeInfo(testCase, &typeInfo,
params->mainUserName, params->mainUserNameLength, "UDT_RECORD", 0,
0, 0, NULL, 7) < 0)
return DPI_FAILURE;
if (dpiObjectType_release(objType) < 0)
return dpiTestCase_setFailedFromError(testCase);
return DPI_SUCCESS;
}
//-----------------------------------------------------------------------------
// main()
//-----------------------------------------------------------------------------
int main(int argc, char **argv)
{
dpiTestSuite_initialize(2200);
dpiTestSuite_addCase(dpiTest_2200,
"dpiConn_getObjectType() with invalid name");
dpiTestSuite_addCase(dpiTest_2201,
"dpiConn_getObjectType() with valid name");
dpiTestSuite_addCase(dpiTest_2202,
"dpiObjectType_release() called twice");
dpiTestSuite_addCase(dpiTest_2203,
"call object type functions with NULL object type");
dpiTestSuite_addCase(dpiTest_2204,
"dpiObjectType_getAttributes() with too small numAttributes");
dpiTestSuite_addCase(dpiTest_2205,
"dpiObjectAttr_getInfo() and verify metadata");
dpiTestSuite_addCase(dpiTest_2206,
"dpiObjectType_getInfo() of collection containing an object");
dpiTestSuite_addCase(dpiTest_2207,
"dpiObjectType_getInfo() of collection containing scalar values");
dpiTestSuite_addCase(dpiTest_2208,
"dpiObjectType_getInfo() of object type with attributes");
dpiTestSuite_addCase(dpiTest_2209,
"dpiObjectType_getInfo() of indexed-by binary integer table");
dpiTestSuite_addCase(dpiTest_2210,
"dpiObjectType_getInfo() of PL/SQL record type");
return dpiTestSuite_run();
}
|