|
|||||||||
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 java.lang.String |
SAVEPOINT_ID_PREFIX
|
Constructor Summary | |
---|---|
AbstractSavepoint(int id)
Create instance of this class. |
|
AbstractSavepoint(java.lang.String name)
Create instance of this class for the specified name. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Check if objects are equal. |
int |
getSavepointId()
Get ID of the savepoint. |
java.lang.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 java.lang.String SAVEPOINT_ID_PREFIX
Constructor Detail |
---|
public AbstractSavepoint(int id)
id
- ID of the savepoint.public AbstractSavepoint(java.lang.String name)
name
- name of the savepoint.Method Detail |
---|
public int getSavepointId() throws java.sql.SQLException
getSavepointId
in interface FirebirdSavepoint
java.sql.SQLException
- if this is a named savepointpublic java.lang.String getSavepointName() throws java.sql.SQLException
getSavepointName
in interface FirebirdSavepoint
java.sql.SQLException
- if this is an un-named savepointpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- object to test.
true
if obj
is equal to this object.public int hashCode()
hashCode
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |