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

oracle.jbo.domain
Class SQLValue

java.lang.Object
  extended byoracle.jbo.domain.SQLValue
All Implemented Interfaces:
DomainInterface, java.io.Serializable

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.


equals

public boolean equals(java.lang.Object other)
Tests this for equality with another 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.

Returns:
an integer hashcode for this.

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

 

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