FileDocCategorySizeDatePackage
LocationTypRef.javaAPI DocExample1333Fri Feb 23 14:16:22 GMT 2001None

LocationTypRef

public class LocationTypRef extends Object implements oracle.sql.CustomDatumFactory, oracle.sql.CustomDatum

Fields Summary
public static final String
_SQL_BASETYPE
public static final int
_SQL_TYPECODE
oracle.sql.REF
_ref
static final LocationTypRef
_LocationTypRefFactory
Constructors Summary
public LocationTypRef()

  
Methods Summary
public oracle.sql.CustomDatumcreate(oracle.sql.Datum d, int sqlType)

    if (d == null) return null;
    LocationTypRef r = new LocationTypRef();
    r._ref = (REF) d;
    return r;
  
public static oracle.sql.CustomDatumFactorygetFactory()

     
  
    return _LocationTypRefFactory;
  
public LocationTypgetValue()

     return (LocationTyp) LocationTyp.getFactory().create(
       _ref.getSTRUCT(), OracleTypes.REF);
  
public voidsetValue(LocationTyp c)

    _ref.setValue((STRUCT) c.toDatum(_ref.getConnection()));
  
public oracle.sql.DatumtoDatum(oracle.jdbc.driver.OracleConnection c)

    return _ref;