oracle.jbo.domain
Class SQLValue
java.lang.Object
|
+--oracle.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
Type | Field |
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. |
Type | Method |
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 |
SQLVAL_IMPL_CLIENT
public static final java.lang.String SQLVAL_IMPL_CLIENT
- Internal: Applications should not use this field.
SQLVAL_IMPL_SERVER
public static final java.lang.String SQLVAL_IMPL_SERVER
- Internal: Applications should not use this field.
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.
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
- Following copied from interface:
oracle.jbo.domain.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.