Ref object, which is the mapping in the
Java programming language of an SQL REF value.
The SerialRef class provides a constructor for
creating a SerialRef instance from a Ref
object and provides methods for getting and setting the Ref object.
| Modifier and Type | Field and Description |
|---|---|
| private String | baseTypeName
String containing the base type name. |
| private Object | |
| private Ref | |
| pack-priv static final long | serialVersionUID
The identifier that assists in the serialization of this |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | Returns: a clone of this SerialRefOverrides java. Returns a clone of this |
| public boolean | Returns: true if the given object represents a SerialRef
equivalent to this SerialRef, false otherwiseThe object to compare this obj)SerialRef againstOverrides java. Compares this SerialRef to the specified object. |
| public String | Returns: a string of the base type name of the RefImplements java. Returns a string describing the base type name of the |
| public Object | Returns: an object instance resolved from the Ref reference and mapped according to the supplied type mapa map)java.util.Map object containing zero or
more entries, with each entry consisting of 1) a String
giving the fully qualified name of a UDT and 2) the
Class object for the SQLData implementation
that defines how the UDT is to be mappedImplements java. Returns an |
| public Object | Returns: an object instance resolved from the Ref referenceImplements java. Returns an |
| public int | Returns: a hash code value for this object.Overrides java. Returns a hash code for this |
| private void | readObject(ObjectInputStream
the s)ObjectInputStream to read from.readObject is called to restore the state of the SerialRef from a stream. |
| public void | setObject(Object
an obj)Object representing the SQL structured type
to be referencedImplements java. Sets the SQL structured type that this |
| private void | writeObject(ObjectOutputStream
the s)ObjectOutputStream to write to.writeObject is called to save the state of the SerialRef to a stream. |
| baseTypeName | back to summary |
|---|---|
| private String baseTypeName String containing the base type name. | |
| object | back to summary |
|---|---|
private Object object
| |
| reference | back to summary |
|---|---|
private Ref reference
| |
| serialVersionUID | back to summary |
|---|---|
| pack-priv static final long serialVersionUID The identifier that assists in the serialization of this | |
| SerialRef | back to summary |
|---|---|
| public SerialRef(Ref ref) throws SerialException, SQLException Constructs a
| |
| clone | back to summary |
|---|---|
| public Object clone() Overrides java. Returns a clone of this
| |
| equals | back to summary |
|---|---|
| public boolean equals(Object obj) Overrides java. Compares this SerialRef to the specified object. The result is
| |
| getBaseTypeName | back to summary |
|---|---|
| public String getBaseTypeName() throws SerialException Implements java. Returns a string describing the base type name of the
| |
| getObject | back to summary |
|---|---|
| public Object getObject(Map<String, Class<?>> map) throws SerialException Implements java. Returns an
| |
| getObject | back to summary |
|---|---|
| public Object getObject() throws SerialException Implements java. Returns an
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Returns a hash code for this
| |
| readObject | back to summary |
|---|---|
| private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException readObject is called to restore the state of the SerialRef from a stream.
| |
| setObject | back to summary |
|---|---|
| public void setObject(Object obj) throws SerialException Implements java. Sets the SQL structured type that this
| |
| writeObject | back to summary |
|---|---|
| private void writeObject(ObjectOutputStream s) throws IOException writeObject is called to save the state of the SerialRef to a stream.
| |