|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.firebirdsql.jdbc.AbstractSavepoint
public abstract class AbstractSavepoint
Implementation of the FirebirdSavepoint
interface. Subclasses might additionally implement Savepoint
interface.
| Field Summary | |
|---|---|
static String |
SAVEPOINT_ID_PREFIX
|
| Constructor Summary | |
|---|---|
AbstractSavepoint(int id)
Create instance of this class. |
|
AbstractSavepoint(String name)
Create instance of this class for the specified name. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Check if objects are equal. |
int |
getSavepointId()
Get ID of the savepoint. |
String |
getSavepointName()
Get name of the savepoint. |
int |
hashCode()
Get hash code of this instance. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String SAVEPOINT_ID_PREFIX
| Constructor Detail |
|---|
public AbstractSavepoint(int id)
id - ID of the savepoint.public AbstractSavepoint(String name)
name - name of the savepoint.| Method Detail |
|---|
public int getSavepointId()
throws SQLException
getSavepointId in interface FirebirdSavepointSQLException - if this is a named savepoint
public String getSavepointName()
throws SQLException
getSavepointName in interface FirebirdSavepointSQLException - if this is an un-named savepointpublic boolean equals(Object obj)
equals in class Objectobj - object to test.
true if obj is equal to this object.public int hashCode()
hashCode in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||