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

E10653-05

oracle.jbo.server
Class SQLValueImpl

java.lang.Object
  extended by oracle.jbo.server.SQLValueImpl
All Implemented Interfaces:
java.io.Serializable, DomainInterface

public class SQLValueImpl
extends java.lang.Object
implements DomainInterface, java.io.Serializable

A representation of SQL data objects.

Since:
Jdeveloper 3.0
See Also:
Serialized Form

Constructor Summary
SQLValueImpl()
           
SQLValueImpl(java.lang.String stmt, ApplicationModule am)
           
SQLValueImpl(java.lang.String stmt, DBTransaction trans)
           
 
Method Summary
static java.lang.Object createInstanceWithAM(java.lang.String stmt, ApplicationModule am)
           
 boolean equals(java.lang.Object other)
           
 java.lang.Object getData()
          Internal: Applications should not use this method.
 int hashCode()
           
 void setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)
          Internal: Applications should not use this method.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SQLValueImpl

public SQLValueImpl()

SQLValueImpl

public SQLValueImpl(java.lang.String stmt,
                    ApplicationModule am)

SQLValueImpl

public SQLValueImpl(java.lang.String stmt,
                    DBTransaction trans)
Method Detail

createInstanceWithAM

public static java.lang.Object createInstanceWithAM(java.lang.String stmt,
                                                    ApplicationModule am)

getData

public java.lang.Object getData()
Description copied from interface: DomainInterface
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.

Specified by:
getData in interface DomainInterface
Returns:
a formatted value object.

setContext

public void setContext(DomainOwnerInterface owner,
                       Transaction trans,
                       java.lang.Object ctx)
Description copied from interface: DomainInterface
Internal: Applications should not use this method.

Specified by:
setContext in interface DomainInterface

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

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

E10653-05

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