|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.anji.persistence.HibernatePersistence
public class HibernatePersistence
| Field Summary |
|---|
| Fields inherited from interface com.anji.persistence.Persistence |
|---|
PERSISTENCE_CLASS_KEY |
| Constructor Summary | |
|---|---|
HibernatePersistence()
default ctor; must call init() before using this object |
|
| Method Summary | |
|---|---|
void |
deleteChromosome(java.lang.String id)
delete chromosome identified by by id |
void |
init(Properties props)
See Parameter Details for specific property settings. |
Chromosome |
loadChromosome(java.lang.String id,
Configuration config)
|
Genotype |
loadGenotype(Configuration aConfig)
loads genotype as of latest generation in run |
void |
reset()
remove all data from storage |
void |
startRun(java.lang.String aRunId)
Begin run. |
void |
store(Activator a)
|
void |
store(Chromosome c)
|
void |
store(Run r)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HibernatePersistence()
init() before using this object
| Method Detail |
|---|
public void init(Properties props)
Persistence
init in interface Persistenceinit in interface Configurableprops - configuration parametersConfigurable.init(com.anji.util.Properties)public void reset()
Persistence
reset in interface PersistencePersistence.reset()
public void store(Chromosome c)
throws java.lang.Exception
store in interface Persistencec - chromosome to store
java.lang.ExceptionPersistence.store(org.jgap.Chromosome)
public void store(Activator a)
throws java.lang.Exception
store in interface Persistencea - activator to store
java.lang.ExceptionPersistence.store(com.anji.integration.Activator)
public void store(Run r)
throws java.lang.Exception
store in interface Persistencer - run to store
java.lang.ExceptionPersistence.store(com.anji.run.Run)
public Chromosome loadChromosome(java.lang.String id,
Configuration config)
loadChromosome in interface PersistencePersistence.loadChromosome(java.lang.String,
org.jgap.Configuration)
public void deleteChromosome(java.lang.String id)
throws java.lang.Exception
Persistenceid
deleteChromosome in interface Persistenceid - id of chromosome to delete
java.lang.ExceptionPersistence.deleteChromosome(java.lang.String)public Genotype loadGenotype(Configuration aConfig)
Persistence
loadGenotype in interface PersistencePersistence.loadGenotype(org.jgap.Configuration)public void startRun(java.lang.String aRunId)
Persistence
startRun in interface PersistencePersistence.startRun(java.lang.String)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||