FileDocCategorySizeDatePackage
PersonTypRef.javaAPI DocExample1307Fri Feb 23 14:16:22 GMT 2001None

PersonTypRef

public class PersonTypRef 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 PersonTypRef
_PersonTypRefFactory
Constructors Summary
public PersonTypRef()

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

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

     
  
    return _PersonTypRefFactory;
  
public PersonTypgetValue()

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

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

    return _ref;