Package org.sbml.jsbml

Examples of org.sbml.jsbml.Species.clone()


        //

        if (speciesIds != null) {
          for (int i = 0; i < speciesIds.length; i++) {
            Species relatedSpecies = model.getSpecies(speciesIds[i]);
            subModel.addSpecies(relatedSpecies.clone());
            processUnitsMap(unitsMap, model, relatedSpecies.getSubstanceUnits());

            // check species type
            if ((relatedSpecies.getSpeciesTypeInstance() != null)
               && (subModel.getSpeciesType(relatedSpecies.getSpeciesType()) == null)) {
View Full Code Here


        //

        if (speciesIds != null) {
          for (int i = 0; i < speciesIds.length; i++) {
            Species relatedSpecies = model.getSpecies(speciesIds[i]);
            subModel.addSpecies(relatedSpecies.clone());
            processUnitsMap(unitsMap, model, relatedSpecies.getSubstanceUnits());

            // check species type
            if ((relatedSpecies.getSpeciesTypeInstance() != null)
               && (subModel.getSpeciesType(relatedSpecies.getSpeciesType()) == null)) {
View Full Code Here

        //

        if (speciesIds != null) {
          for (int i = 0; i < speciesIds.length; i++) {
            Species relatedSpecies = model.getSpecies(speciesIds[i]);
            subModel.addSpecies(relatedSpecies.clone());
            processUnitsMap(unitsMap, model, relatedSpecies.getSubstanceUnits());

            // check species type
            if (relatedSpecies.getSpeciesTypeInstance() != null && subModel.getSpeciesType(relatedSpecies.getSpeciesType()) == null) {
              subModel.addSpeciesType(relatedSpecies.getSpeciesTypeInstance().clone());
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.