if (d == null) return null; LocationTypRef r = new LocationTypRef(); r._ref = (REF) d; return r;
return _LocationTypRefFactory;
return (LocationTyp) LocationTyp.getFactory().create( _ref.getSTRUCT(), OracleTypes.REF);
_ref.setValue((STRUCT) c.toDatum(_ref.getConnection()));
return _ref;