public class GlobalModelWrapper extends Object
| Modifier and Type | Class and Description |
|---|---|
static interface |
GlobalModelWrapper.IEnvValuesProvider |
| Modifier and Type | Field and Description |
|---|---|
Collection<gr.i2s.fishgrowth.model.Fcr> |
fcrs |
Collection<gr.i2s.fishgrowth.model.Mortality> |
mortalities |
Integer[] |
oxygenBiMonthly |
Collection<gr.i2s.fishgrowth.model.Sfr> |
sfrs |
Integer[] |
temperatureBiMonthly |
| Constructor and Description |
|---|
GlobalModelWrapper(org.hibernate.Session session,
gr.i2s.fishgrowth.model.Modeler modeler)
called when we have an actual Modeler i.e.
|
GlobalModelWrapper(org.hibernate.Session session,
gr.i2s.fishgrowth.model.Site site,
Long speciesId)
Called when we have a virtual site i.e.
|
GlobalModelWrapper(org.hibernate.Session session,
String latitude,
String longitude,
Long speciesId) |
GlobalModelWrapper(org.hibernate.Session session,
String latitude,
String longitude,
Long speciesId,
int acceptableSiteCount,
int upToGrade) |
| Modifier and Type | Method and Description |
|---|---|
GlobalModelWrapper |
create() |
Map<Integer,com.google.common.collect.RangeMap<Double,Double>> |
fillKPITable(Collection<? extends gr.i2s.fishgrowth.model.TableEntity> list) |
String |
getUniqueId() |
GlobalModelWrapper |
setOxygenProvider(GlobalModelWrapper.IEnvValuesProvider oxygenProvider) |
GlobalModelWrapper |
setTemperatureProvider(GlobalModelWrapper.IEnvValuesProvider temperatureProvider) |
public Collection<gr.i2s.fishgrowth.model.Fcr> fcrs
public Collection<gr.i2s.fishgrowth.model.Sfr> sfrs
public Collection<gr.i2s.fishgrowth.model.Mortality> mortalities
public Integer[] temperatureBiMonthly
public Integer[] oxygenBiMonthly
public GlobalModelWrapper(org.hibernate.Session session,
String latitude,
String longitude,
Long speciesId)
throws Exception
Exceptionpublic GlobalModelWrapper(org.hibernate.Session session,
String latitude,
String longitude,
Long speciesId,
int acceptableSiteCount,
int upToGrade)
throws Exception
Exceptionpublic GlobalModelWrapper(org.hibernate.Session session,
gr.i2s.fishgrowth.model.Site site,
Long speciesId)
throws Exception
session - site - speciesId - Exceptionpublic GlobalModelWrapper(org.hibernate.Session session,
gr.i2s.fishgrowth.model.Modeler modeler)
throws Exception
session - modeler - Exceptionpublic GlobalModelWrapper setTemperatureProvider(GlobalModelWrapper.IEnvValuesProvider temperatureProvider)
public GlobalModelWrapper setOxygenProvider(GlobalModelWrapper.IEnvValuesProvider oxygenProvider)
public String getUniqueId()
public GlobalModelWrapper create() throws Exception
Exceptionpublic Map<Integer,com.google.common.collect.RangeMap<Double,Double>> fillKPITable(Collection<? extends gr.i2s.fishgrowth.model.TableEntity> list)
Copyright © 2017. All Rights Reserved.