dke.smwp.serialize.dbtypes
Class TcolumnRef

java.lang.Object
  |
  +--dke.smwp.serialize.dbtypes.TcolumnRef
All Implemented Interfaces:
oracle.jdbc.internal.ObjectData, oracle.jdbc.internal.ObjectDataFactory, oracle.sql.ORAData, oracle.sql.ORADataFactory

public class TcolumnRef
extends java.lang.Object
implements oracle.sql.ORAData, oracle.sql.ORADataFactory

Version:
1.0
Author:
Martin Bernauer

Field Summary
(package private)  oracle.sql.REF _ref
           
static java.lang.String _SQL_BASETYPE
           
static int _SQL_TYPECODE
           
private static TcolumnRef _TcolumnRefFactory
           
 
Constructor Summary
TcolumnRef()
          default constructor
 
Method Summary
 oracle.sql.ORAData create(oracle.sql.Datum d, int sqlType)
          ORADataFactory interface
static oracle.sql.ORADataFactory getORADataFactory()
           
 Tcolumn getValue()
           
 void setValue(Tcolumn c)
           
 oracle.sql.Datum toDatum(java.sql.Connection c)
          ORAData interface
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

_SQL_BASETYPE

public static final java.lang.String _SQL_BASETYPE

_SQL_TYPECODE

public static final int _SQL_TYPECODE

_ref

oracle.sql.REF _ref

_TcolumnRefFactory

private static final TcolumnRef _TcolumnRefFactory
Constructor Detail

TcolumnRef

public TcolumnRef()
default constructor
Method Detail

getORADataFactory

public static oracle.sql.ORADataFactory getORADataFactory()
Returns:
factory

toDatum

public oracle.sql.Datum toDatum(java.sql.Connection c)
                         throws java.sql.SQLException
ORAData interface
Specified by:
toDatum in interface oracle.sql.ORAData
Parameters:
c -  
Returns:
datum
Throws:
java.sql.SQLException -  

create

public oracle.sql.ORAData create(oracle.sql.Datum d,
                                 int sqlType)
                          throws java.sql.SQLException
ORADataFactory interface
Specified by:
create in interface oracle.sql.ORADataFactory
Parameters:
d -  
sqlType -  
Returns:
data
Throws:
java.sql.SQLException -  

getValue

public Tcolumn getValue()
                 throws java.sql.SQLException
Returns:
column
Throws:
java.sql.SQLException -  

setValue

public void setValue(Tcolumn c)
              throws java.sql.SQLException
Parameters:
c - column
Throws:
java.sql.SQLException -