|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--oracle.jbo.domain.ClobDomain
Constructor Summary | |
ClobDomain()
|
|
ClobDomain(byte[])
|
|
ClobDomain(oracle.sql.CLOB)
|
|
ClobDomain(oracle.sql.CLOB,
byte[])
|
|
ClobDomain(ClobDomain,
byte[])
|
|
ClobDomain(java.lang.String)
|
Method Summary | |
static oracle.sql.CLOB |
createEmptyCLOB(java.lang.Object)
|
boolean |
equals(java.lang.Object)
|
java.lang.Object |
getData()
Returns the value in the format that is acceptable to the database. |
static XMLDomainFactory |
getXMLDomainFactory(java.lang.Class)
|
void |
loadFromDatabase(Transaction)
Loads the actual data of the "blob" type database attribute into memory. |
void |
prepareForDML(java.lang.Object)
|
void |
saveToDatabase(Transaction)
Saves data in memory to a database "blob" type attribute. |
void |
saveToDatabase(Transaction,
java.lang.Object)
|
void |
setBytes(byte[])
|
void |
setContext(DomainOwnerInterface,
Transaction,
java.lang.Object)
|
void |
shareCLOB(ClobDomain)
|
byte[] |
toByteArray()
|
java.lang.String |
toString()
|
void |
useCLOB(oracle.sql.CLOB)
|
Methods inherited from class java.lang.Object |
clone,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public ClobDomain()
public ClobDomain(java.lang.String)
public ClobDomain(byte[])
public ClobDomain(oracle.sql.CLOB)
public ClobDomain(oracle.sql.CLOB, byte[])
public ClobDomain(ClobDomain, byte[])
Method Detail |
public void shareCLOB(ClobDomain)
public void useCLOB(oracle.sql.CLOB)
public void setBytes(byte[])
public void loadFromDatabase(Transaction) throws java.lang.Exception
The transaction argument is needed to perform an additional query into the database to extract the data.
This method does not need to be invoked for a new attribute.
transaction
- the oracle.jbo.rt.DBTransactionImpl of the current appmodule.public void setContext(DomainOwnerInterface, Transaction, java.lang.Object)
public java.lang.Object getData()
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.
public void saveToDatabase(Transaction) throws java.sql.SQLException
The transaction argument is is needed to perform an additional query into the database to write the data.
This method does not need to be invoked if this attribute's data has not changed.
transaction
- the oracle.jbo.rt.DBTransactionImpl
instance of the current application module.public void saveToDatabase(Transaction, java.lang.Object) throws java.sql.SQLException
public void prepareForDML(java.lang.Object)
public static oracle.sql.CLOB createEmptyCLOB(java.lang.Object)
public java.lang.String toString()
public byte[] toByteArray()
public boolean equals(java.lang.Object)
public static XMLDomainFactory getXMLDomainFactory(java.lang.Class)
|
Business Components | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |