public class SQLValueImpl extends java.lang.Object implements DomainInterface, java.io.Serializable
| Constructor and Description |
|---|
SQLValueImpl() |
SQLValueImpl(java.lang.String stmt,
ApplicationModule am) |
SQLValueImpl(java.lang.String stmt,
DBTransaction trans) |
| Modifier and Type | Method and Description |
|---|---|
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() |
public SQLValueImpl()
public SQLValueImpl(java.lang.String stmt,
ApplicationModule am)
public SQLValueImpl(java.lang.String stmt,
DBTransaction trans)
public static java.lang.Object createInstanceWithAM(java.lang.String stmt,
ApplicationModule am)
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.Objectpublic int hashCode()
hashCode in class java.lang.Object