net.sf.farrago.db
Class FarragoDbSavepoint

java.lang.Object
  extended by net.sf.farrago.db.FarragoDbSavepoint
All Implemented Interfaces:
FarragoSessionSavepoint

 class FarragoDbSavepoint
extends Object
implements FarragoSessionSavepoint

FarragoDbSavepoint implements the FarragoSessionSavepoint interface in terms of a FarragoDbSession.

Version:
$Id: //open/dev/farrago/src/net/sf/farrago/db/FarragoDbSavepoint.java#11 $
Author:
John V. Sichi

Field Summary
private  FennelSvptHandle fennelSvptHandle
          Handle to underlying Fennel savepoint.
private  int id
          ID generated by session (unique within session scope).
private  String name
          Name assigned by user, or null if unnamed.
(package private)  FarragoDbSession session
          Session which created this savepoint.
 
Constructor Summary
FarragoDbSavepoint(int id, String name, FennelSvptHandle fennelSvptHandle, FarragoDbSession session)
           
 
Method Summary
 boolean equals(Object obj)
           
(package private)  FennelSvptHandle getFennelSvptHandle()
           
 int getId()
           
 String getName()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

session

FarragoDbSession session
Session which created this savepoint.


id

private int id
ID generated by session (unique within session scope).


name

private String name
Name assigned by user, or null if unnamed.


fennelSvptHandle

private FennelSvptHandle fennelSvptHandle
Handle to underlying Fennel savepoint.

Constructor Detail

FarragoDbSavepoint

FarragoDbSavepoint(int id,
                   String name,
                   FennelSvptHandle fennelSvptHandle,
                   FarragoDbSession session)
Method Detail

getId

public int getId()
Specified by:
getId in interface FarragoSessionSavepoint

getName

public String getName()
Specified by:
getName in interface FarragoSessionSavepoint

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getFennelSvptHandle

FennelSvptHandle getFennelSvptHandle()