net.sourceforge.pain.data
Class CodebasePulse

java.lang.Object
  extended bynet.sourceforge.pain.db.DbObject
      extended bynet.sourceforge.pain.data.CodebasePulse

public final class CodebasePulse
extends DbObject

Codebase pulse counter persistent image


Field Summary
protected static int NFIELDS
           
protected static int PULSE
           
 
Constructor Summary
CodebasePulse()
           
CodebasePulse(PainDB db)
           
 
Method Summary
 int getPulse()
           
 DbClassSchema provideSchema()
          Every time we add new DbObject of the unknown class to database this method is called.
 void setPulse(int time)
           
 
Methods inherited from class net.sourceforge.pain.db.DbObject
delete, getArrayList, getBoolean, getByte, getByteArray, getByteArrayForRead, getChar, getCharArray, getCharArrayForRead, getDB, getDbClass, getDouble, getFloat, getInt, getIntArray, getIntArrayForRead, getIntKeyMap, getLinkedList, getList, getLong, getOid, getReference, getRefSet, getShort, getString, getStringArray, getStringArrayForRead, getStringKeyMap, getStringMap, getStringSet, isClean, isDeleted, isDetached, isDirty, isNew, setBoolean, setByte, setByteArray, setChar, setCharArray, setDouble, setFloat, setInt, setIntArray, setLong, setReference, setShort, setString, setStringArray
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PULSE

protected static final int PULSE
See Also:
Constant Field Values

NFIELDS

protected static final int NFIELDS
See Also:
Constant Field Values
Constructor Detail

CodebasePulse

public CodebasePulse()

CodebasePulse

public CodebasePulse(PainDB db)
Method Detail

provideSchema

public DbClassSchema provideSchema()
Description copied from class: DbObject
Every time we add new DbObject of the unknown class to database this method is called. DbClass instance will be automatically created. It's called only once for every new class.

Specified by:
provideSchema in class DbObject

getPulse

public int getPulse()

setPulse

public void setPulse(int time)