net.sourceforge.jtds.jdbc

Class SavepointImpl

Implemented Interfaces:
Savepoint

(package private) class SavepointImpl
extends java.lang.Object
implements Savepoint

Savepoint implementation class.
Version:
$Id: SavepointImpl.java,v 1.5 2005/04/28 14:29:27 alin_sinpalean Exp $
Author:
Brian Heineman

Field Summary

private int
id
private String
name

Constructor Summary

SavepointImpl(int id)
Constructs a savepoint with a specific identifier.
SavepointImpl(int id, String name)
Constructs a savepoint with a specific identifier and name.

Method Summary

(package private) int
getId()
Returns the savepoint id.
int
getSavepointId()
String
getSavepointName()

Field Details

id

private final int id

name

private final String name

Constructor Details

SavepointImpl

(package private)  SavepointImpl(int id)
Constructs a savepoint with a specific identifier.
Parameters:
id - a savepoint identifier

SavepointImpl

(package private)  SavepointImpl(int id,
                                 String name)
Constructs a savepoint with a specific identifier and name.
Parameters:
id - a savepoint identifier
name - the savepoint name

Method Details

getId

(package private)  int getId()
Returns:
the savepoint id

getSavepointId

public int getSavepointId()
            throws SQLException

getSavepointName

public String getSavepointName()
            throws SQLException

Generated on September 18 2009