public class RowID extends ROWID implements NativeTypeDomainInterface, KeyAttributeInterface, ORAData, OracleData, java.io.Serializable
RowID objects consist of data (a byte array)
 and a Domain type code.
 Domain row IDs extend SQL row IDs by being convertable to
 JDBC values.
 
The oracle.jbo.domain.RowID class is the Java representation of the underlying database type that you must use if you want to exploit the domain feature of Business Components for Java.
BUILD_DATE, TRACE| Constructor and Description | 
|---|
| RowID()Creates a default  RowIDDomain object. | 
| RowID(byte[] value)Internal: Applications should not invoke this constructor. | 
| RowID(ROWID value)Internal: Applications should not invoke this constructor. | 
| RowID(java.lang.String value)Internal: Applications should not invoke this constructor. | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object other)Tests  thisfor equality with another object. | 
| java.lang.Object | getData()Internal: Applications should not invoke this method. | 
| java.lang.Object | getNativeObject() | 
| static ORADataFactory | getORADataFactory()Internal: Applications should not invoke this method. | 
| java.lang.String | getValue()Return a String object with this domain's value. | 
| int | hashCode()Computes a hash code for  this. | 
| void | setContext(DomainOwnerInterface owner,
          Transaction trans,
          java.lang.Object ctx)Internal: Applications should not invoke this method. | 
| Datum | toDatum(java.sql.Connection conn)Internal: Applications should not invoke this method. | 
| java.lang.Object | toJDBCObject(java.sql.Connection connection)Internal: Applications should not use this method. | 
| java.lang.String | toString()For testing purposes only: converts  thisto a textual representation. | 
getACProxy, isConvertibleTo, makeJdbcArray, setACProxy, stringValue, toJdbcasciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, bytesEqual, byteValue, characterStreamValue, compareBytes, dateValue, doubleValue, floatValue, getBytes, getConnectionDuringExceptionHandling, getLength, getStream, intValue, isNull, longValue, setBytes, setShareBytes, shareBytes, stringValue, timestampValue, timestampValue, timeValue, timeValue, toClassclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBytes, setBytespublic RowID()
RowID Domain object.
 This constructor does not create a null RowID. To create a
 null RowID,
 use one of the NullValue objects to indicate
 null.
public RowID(ROWID value)
Creates a RowID Domain object from the given byte array.
value - a value returned by a previous call to
 getBytes() on an SQL object compatable with
 RowID.public RowID(byte[] value)
Creates a RowID Domain object from the given byte array.
value - byte array containing the value of the RowID.public RowID(java.lang.String value)
 Creates a RowID Domain object from a
 Java String.
value - a textual representation of a RowID.java.sql.SQLException - if the representation is invalid.public static ORADataFactory getORADataFactory()
Initializes the RowID Domain.
 This method is invoked when Business Components for Java is initialized.
ORADataFactory for the
 RowID Domain.public Datum toDatum(java.sql.Connection conn) throws java.sql.SQLException
Converts this RowID Domain object back into an
 SQL ROWID object.
public java.lang.Object getNativeObject()
getNativeObject in interface NativeTypeDomainInterfacepublic java.lang.String getValue()
public java.lang.Object getData()
 Converts this to a JDBC object.
getData in interface DomainInterfacethis, or  null,
 if the conversion fails.public void setContext(DomainOwnerInterface owner, Transaction trans, java.lang.Object ctx)
setContext in interface DomainInterfacepublic java.lang.String toString()
this to a textual representation.public boolean equals(java.lang.Object other)
this for equality with another object.
 The argument is converted to a RowID object, if necessary.
public int hashCode()
this.hashCode in interface java.sql.RowIdhashCode in class java.lang.Objectthis.public java.lang.Object toJDBCObject(java.sql.Connection connection)
                              throws java.sql.SQLException
toJDBCObject in interface OracleDatajava.sql.SQLException