auc.simulator
Class FieldManager

java.lang.Object
  |
  +--auc.simulator.FieldManager

public class FieldManager
extends java.lang.Object

NOTE: This class is not thread safe, but bearing in mind that only one job is simulated at a given time, it's ok to do this. In the future this should be changed


Field Summary
protected  Field mCurrentField
           
protected static FieldManager mManager
           
 
Constructor Summary
protected FieldManager()
           
 
Method Summary
protected  Field createFieldStructure(DBServer server, RecordDescription fieldDescription)
           
 Field getCurrentField()
           
 void getField(DBServer server, RecordDescription fieldDescription)
           
static FieldManager getInstance()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mCurrentField

protected Field mCurrentField

mManager

protected static FieldManager mManager
Constructor Detail

FieldManager

protected FieldManager()
Method Detail

getInstance

public static FieldManager getInstance()

createFieldStructure

protected Field createFieldStructure(DBServer server,
                                     RecordDescription fieldDescription)
                              throws DBConnectException,
                                     DBReadException,
                                     FileOpenException,
                                     FileReadException

getField

public void getField(DBServer server,
                     RecordDescription fieldDescription)
              throws DBConnectException,
                     DBReadException,
                     FileOpenException,
                     FileReadException

getCurrentField

public Field getCurrentField()