Methods Summary |
---|
public java.lang.String | getBaseTypeName()Returns a string describing the base type name of the Ref .
return baseTypeName;
|
public java.lang.Object | getObject(java.util.Map map)Returns an Object representing the SQL structured type
to which this SerialRef object refers. The attributes
of the structured type are mapped according to the given type map.
map = new Hashtable(map);
if (!object.equals(null)) {
return map.get(object);
} else {
throw new SerialException("The object is not set");
}
|
public java.lang.Object | getObject()Returns an Object representing the SQL structured type
to which this SerialRef object refers.
if (reference != null) {
try {
return reference.getObject();
} catch (SQLException e) {
throw new SerialException("SQLException: " + e.getMessage());
}
}
if (object != null) {
return object;
}
throw new SerialException("The object is not set");
|
public void | setObject(java.lang.Object obj)Sets the SQL structured type that this SerialRef object
references to the given Object object.
try {
reference.setObject(obj);
} catch (SQLException e) {
throw new SerialException("SQLException: " + e.getMessage());
}
object = obj;
|