}
}
}
if (model.isSetListOfSpecies()) {
for (int i = 0; i < model.getSpeciesCount(); i++) {
Species species = model.getSpecies(i);
if (species.isSetSubstanceUnits()
&& !species.isSetSubstanceUnitsInstance()) {
log4jLogger.warn("No UnitDefinition matches the subtsanceUnitsID of species.");
}
if (species.isSetSpeciesType()
&& !species.isSetSpeciesTypeInstance()) {
log4jLogger.warn("No SpeciesType matches the speciesTypeID of species.");
}
if (species.isSetConversionFactor()
&& !species.isSetConversionFactorInstance()) {
log4jLogger.warn("No Parameter matches the conversionFactorID of species.");
}
if (species.isSetCompartment()
&& !species.isSetCompartmentInstance()) {
log4jLogger.warn("No Compartment matches the compartmentID of species.");
}
if (species.isSetSpatialSizeUnits()
&& !species.isSetSpatialSizeUnitsInstance()) {
log4jLogger.warn("No UnitDefinition matches the spatialSizeUnitsID of species.");
}
}
}
if (model.isSetListOfParameters()) {