Skip navigation links

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

E10653-06


oracle.jbo.domain
Class SQLValue

java.lang.Object
  extended by oracle.jbo.domain.SQLValue

All Implemented Interfaces:
java.io.Serializable, DomainInterface

public class SQLValue
extends java.lang.Object
implements DomainInterface, java.io.Serializable
See Also:
Serialized Form

Field Summary
static java.lang.String SQLVAL_IMPL_CLIENT
          Internal: Applications should not use this field.
static java.lang.String SQLVAL_IMPL_SERVER
          Internal: Applications should not use this field.

 

Constructor Summary
SQLValue()
          Constructs a SQLValue object.
SQLValue(java.lang.String stmt, ApplicationModule am)
          Constructs a SQLValue object, given an Application Module instance.

 

Method Summary
 boolean equals(java.lang.Object other)
          Tests this for equality with another object.
 java.lang.Object getData()
          Internal: Applications should not use this method.
 int hashCode()
          Computes a hash code for this.
 void setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)
          Internal: Applications should not use this method.
 java.lang.String toString()
          For testing purposes only: converts this to a textual representation.

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait

 

Field Detail

SQLVAL_IMPL_CLIENT

public static final java.lang.String SQLVAL_IMPL_CLIENT
Internal: Applications should not use this field.
See Also:
Constant Field Values

SQLVAL_IMPL_SERVER

public static final java.lang.String SQLVAL_IMPL_SERVER
Internal: Applications should not use this field.
See Also:
Constant Field Values

Constructor Detail

SQLValue

public SQLValue()
Constructs a SQLValue object.

SQLValue

public SQLValue(java.lang.String stmt,
                ApplicationModule am)
Constructs a SQLValue object, given an Application Module instance.
Parameters:
stmt -
am - an instance of the Application Module where the SQLValue will be used.

Method Detail

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()
For testing purposes only: converts this to a textual representation.
Overrides:
toString in class java.lang.Object

equals

public boolean equals(java.lang.Object other)
Tests this for equality with another object.
Overrides:
equals in class java.lang.Object
Parameters:
other - an arbitrary Object.
Returns:
true if conversion was successful and the converted argument is identical to this.

hashCode

public int hashCode()
Computes a hash code for this.
Overrides:
hashCode in class java.lang.Object
Returns:
an integer hashcode for this.

Skip navigation links

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

E10653-06


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