jrun.sql
Class RemoteSQLIdentifier
java.lang.Object
|
+--jrun.sql.RemoteSQLIdentifier
- All Implemented Interfaces:
- java.io.Serializable
- public class RemoteSQLIdentifier
- extends java.lang.Object
- implements java.io.Serializable
Used to strongly-type remote SQL mappings. These identifiers map to
local JDBC resources (Connections, Statements, and ResultSets) on the
server, and to dynamic proxies (maintained in RemoteSQLProxy objects)
on the client.
- Author:
- PS Neville
- See Also:
- Serialized Form
|
Method Summary |
boolean |
equals(java.lang.Object o)
|
java.lang.String |
getData()
|
boolean |
isCallable()
Whether or not this identifier maps to a remote CallableStatement. |
boolean |
isConnection()
Whether or not this identifier maps to a remote Connection. |
boolean |
isDatabaseMetaData()
Whether or not this identifier maps to a remote DatabaseMetaData. |
boolean |
isPrepared()
Whether or not this identifier maps to a remote PreparedStatement. |
boolean |
isResultSet()
Whether or not this identifier maps to a remote ResultSet. |
boolean |
isResultSetMetaData()
Whether or not this identifier maps to a remote ResultSetMetaData. |
boolean |
isStatement()
Whether or not this identifier maps to a remote Statement. |
void |
setData(java.lang.String data)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
data
public java.lang.String data
CONNECTION
public static final java.lang.String CONNECTION
CALLABLE
public static final java.lang.String CALLABLE
DATABASEMETADATA
public static final java.lang.String DATABASEMETADATA
PREPARED
public static final java.lang.String PREPARED
STATEMENT
public static final java.lang.String STATEMENT
RESULTSET
public static final java.lang.String RESULTSET
RESULTSETMETADATA
public static final java.lang.String RESULTSETMETADATA
RemoteSQLIdentifier
public RemoteSQLIdentifier()
RemoteSQLIdentifier
public RemoteSQLIdentifier(java.lang.String s)
RemoteSQLIdentifier
public RemoteSQLIdentifier(int n)
getData
public java.lang.String getData()
setData
public void setData(java.lang.String data)
isConnection
public boolean isConnection()
- Whether or not this identifier maps to a remote Connection.
isCallable
public boolean isCallable()
- Whether or not this identifier maps to a remote CallableStatement.
isDatabaseMetaData
public boolean isDatabaseMetaData()
- Whether or not this identifier maps to a remote DatabaseMetaData.
isPrepared
public boolean isPrepared()
- Whether or not this identifier maps to a remote PreparedStatement.
isStatement
public boolean isStatement()
- Whether or not this identifier maps to a remote Statement.
isResultSet
public boolean isResultSet()
- Whether or not this identifier maps to a remote ResultSet.
isResultSetMetaData
public boolean isResultSetMetaData()
- Whether or not this identifier maps to a remote ResultSetMetaData.
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals in class java.lang.Object
Copyright � 2002 Macromedia Corporation. All Rights Reserved.