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

E10653-02

oracle.jbo.domain
Interface DomainInterface

All Known Subinterfaces:
BlobDomainInterface, LobInterface, LobStreamInterface, MutableDomainInterface, NativeTypeDomainInterface
All Known Implementing Classes:
Array, BFileDomain, BlobDomain, Char, ClobDomain, Date, DateDomain, DBSequence, GeneratorSequenceImpl, NClobDomain, NoMasterRowMarker, NullValue, Number, Raw, Ref, RowID, Sequence, SequenceImpl, SequenceImpl, SQLValue, SQLValueImpl, SQLValueImpl, Struct, Timestamp, TimestampLTZ, TimestampTZ, WhereClauseParamNoValue

public interface DomainInterface

Implemented by domain classes to save data to, and extract data from, a domain class.

Domain classes extend or encapsulate Oracle SQL datatypes. Domain objects can be converted to the standard JDBC data types.

Since:
JDevloper 3.0
See Also:
TypeFactory

Method Summary
 java.lang.Object getData()
          Internal: Applications should not use this method.
 void setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)
          Internal: Applications should not use this method.
 

Method Detail

getData

java.lang.Object getData()
Internal: Applications should not use this method.

Returns the value in the format that is acceptable to the database.

For domain classes based on oracle.sql.* classes, this method returns a Datum object. For domains based on java.lang types such as String, the value-holder object that is passed to JDBC is returned.

Returns:
a formatted value object.

setContext

void setContext(DomainOwnerInterface owner,
                Transaction trans,
                java.lang.Object ctx)
Internal: Applications should not use this method.


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

E10653-02

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