public abstract class QualitativeModule extends Object implements UpdateModule
| Modifier and Type | Field and Description |
|---|---|
protected Simulation |
simulation
The simulation.
|
protected ModuleState |
state |
protected UpdateScheduler |
updateScheduler |
| Constructor and Description |
|---|
QualitativeModule() |
| Modifier and Type | Method and Description |
|---|---|
void |
checkFeatures() |
<FeatureType extends bio.singa.features.model.Feature> |
getFeature(Class<FeatureType> featureTypeClass) |
Collection<bio.singa.features.model.Feature<?>> |
getFeatures() |
String |
getIdentifier() |
Set<ChemicalEntity> |
getReferencedEntities() |
Set<Class<? extends bio.singa.features.model.Feature>> |
getRequiredFeatures() |
double |
getScaledFeature(Class<? extends bio.singa.features.model.ScalableQuantitativeFeature<?>> featureClass) |
Simulation |
getSimulation() |
ModuleState |
getState() |
void |
initialize() |
void |
resetState() |
void |
run() |
void |
setFeature(bio.singa.features.model.Feature<?> feature)
Sets a feature.
|
void |
setIdentifier(String identifier) |
void |
setSimulation(Simulation simulation) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcalculateUpdates, onCompletion, onReset, optimizeTimeStepprotected Simulation simulation
protected UpdateScheduler updateScheduler
protected ModuleState state
public void initialize()
initialize in interface UpdateModulepublic void setIdentifier(String identifier)
public void setSimulation(Simulation simulation)
setSimulation in interface UpdateModulepublic Simulation getSimulation()
public ModuleState getState()
getState in interface UpdateModulepublic void resetState()
resetState in interface UpdateModulepublic Set<Class<? extends bio.singa.features.model.Feature>> getRequiredFeatures()
getRequiredFeatures in interface UpdateModulepublic double getScaledFeature(Class<? extends bio.singa.features.model.ScalableQuantitativeFeature<?>> featureClass)
getScaledFeature in interface UpdateModulepublic void setFeature(bio.singa.features.model.Feature<?> feature)
setFeature in interface UpdateModulefeature - The feature.public <FeatureType extends bio.singa.features.model.Feature> FeatureType getFeature(Class<FeatureType> featureTypeClass)
public Set<ChemicalEntity> getReferencedEntities()
getReferencedEntities in interface UpdateModulepublic void checkFeatures()
checkFeatures in interface UpdateModulepublic Collection<bio.singa.features.model.Feature<?>> getFeatures()
getFeatures in interface UpdateModulepublic String getIdentifier()
getIdentifier in interface UpdateModuleCopyright © 2019. All rights reserved.