Business Components

oracle.jbo.domain
Class Array

java.lang.Object
  |
  +--oracle.jbo.domain.Array

public synchronized class Array
extends java.lang.Object
implements DomainInterface, oracle.sql.CustomDatum, java.io.Serializable

See Also:
Serialized Form

Constructor Summary
protected Array()
           
  Array(oracle.sql.ArrayDescriptor, java.sql.Connection, byte[])
           
  Array(oracle.sql.ArrayDescriptor, java.sql.Connection, java.lang.Object)
           
  Array(oracle.sql.Datum)
           
 
Method Summary
 boolean equals(java.lang.Object)
           
 java.lang.Object[] getArray()
           
static oracle.sql.CustomDatumFactory getCustomDatumFactory()
           
 java.lang.Object getData()
          Returns the value in the format that is acceptable to the database.
 void setContext(DomainOwnerInterface, Transaction, java.lang.Object)
           
 oracle.sql.Datum toDatum(oracle.jdbc.driver.OracleConnection)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Array

protected Array()
         throws java.sql.SQLException

Array

public Array(oracle.sql.ArrayDescriptor,
             java.sql.Connection,
             java.lang.Object)
      throws java.sql.SQLException

Array

public Array(oracle.sql.ArrayDescriptor,
             java.sql.Connection,
             byte[])
      throws java.sql.SQLException

Array

public Array(oracle.sql.Datum)
      throws java.sql.SQLException
Method Detail

getCustomDatumFactory

public static oracle.sql.CustomDatumFactory getCustomDatumFactory()

toDatum

public oracle.sql.Datum toDatum(oracle.jdbc.driver.OracleConnection)
                         throws java.sql.SQLException
Specified by:
toDatum in interface oracle.sql.CustomDatum

getData

public java.lang.Object getData()
Description copied from interface: DomainInterface
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
Tags copied from interface: DomainInterface
Returns:
a formatted value object.

setContext

public void setContext(DomainOwnerInterface,
                       Transaction,
                       java.lang.Object)
Specified by:
setContext in interface DomainInterface

getArray

public java.lang.Object[] getArray()

equals

public boolean equals(java.lang.Object)
Overrides:
equals in class java.lang.Object

Business Components