BioModule currentBioModule = (BioModule) (modules[i]);
BioModule currentBioModule = (modules[i]);
    public void setStochasticIntensity(StochasticIntensity pValue) {        for (int i = 0; i < modules.length; i++) {            BioModule currentBioModule = (BioModule) (modules[i]);            currentBioModule.setStochasticIntensity(pValue);        }    }