Package org.castor.jdo.engine
Class CounterRef
- java.lang.Object
-
- org.castor.jdo.engine.CounterRef
-
public final class CounterRef extends java.lang.ObjectHolds information about table names and counters.- Since:
- 0.9.9
- Version:
- $Revision: 5951 $ $Date: 2005-07-24 14:37:16 -0600 (Sun, 24 Jul 2005) $
- Author:
- Werner Guttmann
-
-
Constructor Summary
Constructors Constructor Description CounterRef()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCounter()Get the counter value.java.lang.StringgetTableName()Get the table name.voidsetCounter(int counter)Set the counter value.voidsetTableName(java.lang.String tableName)Set the tabel name.
-
-
-
Method Detail
-
getTableName
public java.lang.String getTableName()
Get the table name.- Returns:
- the table name.
-
setTableName
public void setTableName(java.lang.String tableName)
Set the tabel name.- Parameters:
tableName- The tabel name
-
getCounter
public int getCounter()
Get the counter value.- Returns:
- The counter value.
-
setCounter
public void setCounter(int counter)
Set the counter value.- Parameters:
counter- The counter value.
-
-