Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

oracle.jbo.server
Class SQLValueImpl

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

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()

equals

public boolean equals(java.lang.Object other)

hashCode

public int hashCode()

Oracle ADF Model and Business Components API Reference 10.1.2 B14022-01

 

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