Skip navigation links

Oracle®Database JDBC Java API Reference
12c Release 1 (12.1.0.2)
E56669-01


oracle.sql
Class ROWID

java.lang.Object
  extended by oracle.sql.Datum
      extended by oracle.sql.ROWID

All Implemented Interfaces:
Serializable, RowId, oracle.jdbc.internal.ACProxyable, oracle.jdbc.internal.OracleRowId

public class ROWID
extends Datum
implements oracle.jdbc.internal.OracleRowId

The ROWID class is a representation of the Oracle ROWID datatype. It is intended to be immutable. The user should not try to change its contents once it is constructed.

See Also:
Serialized Form

Field Summary
static boolean TRACE
           

 

Method Summary
 Object getACProxy()
           
 boolean isConvertibleTo(Class jClass)
          Test whether this data object can be converted to the specified Java data type.
 void setACProxy(Object w)
           
 String stringValue()
          Convert this data object into a String.
 Object toJdbc()
          Convert this data object into its default Java object type.
 String toString()
          Implements the java.sql.RowId.toString()

 

Methods inherited from class oracle.sql.Datum
asciiStreamValue, bigDecimalValue, binaryStreamValue, booleanValue, bytesEqual, byteValue, characterStreamValue, compareBytes, dateValue, doubleValue, equals, floatValue, getBytes, getConnectionDuringExceptionHandling, getLength, getStream, intValue, isNull, longValue, setBytes, setShareBytes, shareBytes, stringValue, timestampValue, timestampValue, timeValue, timeValue, toClass

 

Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Methods inherited from interface java.sql.RowId
equals, getBytes, hashCode

 

Field Detail

TRACE

public static final boolean TRACE
See Also:
Constant Field Values

Method Detail

toJdbc

public Object toJdbc()
              throws SQLException
Convert this data object into its default Java object type.
Specified by:
toJdbc in class Datum
Returns:
the data value as a Java object.
Throws:
SQLException - if any of the lower layer code throws an exception.

isConvertibleTo

public boolean isConvertibleTo(Class jClass)
Test whether this data object can be converted to the specified Java data type.
Specified by:
isConvertibleTo in class Datum
Parameters:
jClass - specifies the Java data type to test against.
Returns:
true if this data object is convertible to the specified Java class, and a corresponding xxxValue() method is available; otherwise, a false is returned.

stringValue

public String stringValue()
Convert this data object into a String.
Overrides:
stringValue in class Datum
Returns:
the data value in String representation.

toString

public String toString()
Implements the java.sql.RowId.toString()
Specified by:
toString in interface RowId
Overrides:
toString in class Object
Returns:
the ROWID value in String representation.

setACProxy

public void setACProxy(Object w)
Specified by:
setACProxy in interface oracle.jdbc.internal.ACProxyable

getACProxy

public Object getACProxy()
Specified by:
getACProxy in interface oracle.jdbc.internal.ACProxyable

Skip navigation links

Oracle®Database JDBC Java API Reference
12c Release 1 (12.1.0.2)
E56669-01


Copyright © 2008, 2014, Oracle and/or its affiliates. All rights reserved.