Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

oracle.jbo.domain
Interface ExtDomainOwnerInterface

All Superinterfaces:
DomainOwnerInterface
All Known Implementing Classes:
DSEntityImpl, EntityFacadeImpl, EntityImpl, EntityOverRow, RowIdEntityObjectImpl

public interface ExtDomainOwnerInterface
extends DomainOwnerInterface

Internal: Applications should not implement this interface.

This extension of DomainOwnerInterface adds factory methods to create some specific SQL types that depend on a valid database connection.

Any class implementing DomainOwnerInterface that may be set as the owner (or container) of the any other domain type implementing LobInterface should implement this interface instead, otherwise the proper behavior of instances of such domain types cannot be guranteed.

Since:
11.1.1.6.0

Method Summary
 java.sql.Array createArray(java.lang.String typeName, java.lang.Object[] elements)
          Create a new instance of java.sql.Array
 java.sql.Blob createBlob()
          Create a new instance of an "empty" Blob database locator, which can later be used to write content to the BLOB in the database.
 java.sql.Clob createClob()
          Create a new instance of an "empty" Clob database locator, which can later be used to write content to the CLOB in the database.
 java.sql.NClob createNClob()
          Create a new instance of an "empty" NClob database locator, which can later be used to write content to the NCLOB in the database.
 java.sql.Ref createRef(java.lang.String typeName, byte[] data)
          Create a new instance of java.sql.Ref
 java.sql.Struct createStruct(java.lang.String typeName, java.lang.Object[] attributes)
          Create a new instance of java.sql.Ref
 
Methods inherited from interface oracle.jbo.domain.DomainOwnerInterface
domainToBeModified
 

Method Detail

createBlob

java.sql.Blob createBlob()

Create a new instance of an "empty" Blob database locator, which can later be used to write content to the BLOB in the database.

Returns:
instance of an "empty" Blob locator or null when it's not possible to create it.

createClob

java.sql.Clob createClob()

Create a new instance of an "empty" Clob database locator, which can later be used to write content to the CLOB in the database.

Returns:
instance of an "empty" Clob locator or null when it's not possible to create it.

createNClob

java.sql.NClob createNClob()

Create a new instance of an "empty" NClob database locator, which can later be used to write content to the NCLOB in the database.

Returns:
instance of an "empty" NClob locator or null when it's not possible to create it.

createArray

java.sql.Array createArray(java.lang.String typeName,
                           java.lang.Object[] elements)

Create a new instance of java.sql.Array

Parameters:
typeName - the SQL name of the type the elements of the array map to.
elements - the elements that populate the returned object
Returns:
an Array object whose elements map to the specified SQL type

createRef

java.sql.Ref createRef(java.lang.String typeName,
                       byte[] data)

Create a new instance of java.sql.Ref

Parameters:
typeName - the SQL name of the type the Ref maps to.
data - the Ref's data
Returns:
a Ref object mapping to the specified SQL type

createStruct

java.sql.Struct createStruct(java.lang.String typeName,
                             java.lang.Object[] attributes)

Create a new instance of java.sql.Ref

Parameters:
typeName - the SQL name of the type the Struct maps to.
attributes - the Struct's attributes
Returns:
a Struct object mapping to the specified SQL type

Oracle Fusion Middleware Java API Reference for Oracle ADF Model
11g Release 1 (11.1.1.7.0)

E10653-08

Copyright © 1997, 2013, Oracle. All rights reserved.