public class SQLValue extends java.lang.Object implements DomainInterface, java.io.Serializable
| Modifier and Type | Field and Description | 
|---|---|
| static java.lang.String | SQLVAL_IMPL_CLIENTInternal: Applications should not use this field. | 
| static java.lang.String | SQLVAL_IMPL_SERVERInternal: Applications should not use this field. | 
| Constructor and Description | 
|---|
| SQLValue()Constructs a SQLValue object. | 
| SQLValue(java.lang.String stmt,
        ApplicationModule am)Constructs a SQLValue object, given an Application Module instance. | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
public static final java.lang.String SQLVAL_IMPL_CLIENT
public static final java.lang.String SQLVAL_IMPL_SERVER
public SQLValue()
public SQLValue(java.lang.String stmt,
        ApplicationModule am)
stmt - am - an instance of the Application Module where the SQLValue will be used.public java.lang.Object getData()
DomainInterfaceReturns 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.
getData in interface DomainInterfacepublic void setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)
DomainInterfacesetContext in interface DomainInterfacepublic java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object other)
equals in class java.lang.Objectother - an arbitrary Object.public int hashCode()
hashCode in class java.lang.Object