Package org.sbml.jsbml

Examples of org.sbml.jsbml.CompartmentType


              return event;
            } else if (elementName.equals("compartmentType")
                && list.getSBaseListType().equals(
                    ListOf.Type.listOfCompartmentTypes)
                && (model.getLevel() == 2 && model.getVersion() > 1)) {
              CompartmentType compartmentType = (CompartmentType) newContextObject;
              model.addCompartmentType(compartmentType);

              return compartmentType;
            } else if (elementName.equals("speciesType")
                && list.getSBaseListType().equals(
View Full Code Here


  private void setCompartmentCompartmentType(Compartment compartment,
      Model model) {
    if (compartment.isSetCompartmentType()) {
      String compartmentTypeID = compartment.getCompartmentType();

      CompartmentType compartmentType = model
          .getCompartmentType(compartmentTypeID);

      if (compartmentType != null) {
        compartment.setCompartmentType(compartmentType);
      } else {
View Full Code Here

              return event;
            } else if (elementName.equals("compartmentType")
                && list.getSBaseListType().equals(
                    ListOf.Type.listOfCompartmentTypes)
                && (model.getLevel() == 2 && model.getVersion() > 1)) {
              CompartmentType compartmentType = (CompartmentType) newContextObject;
              model.addCompartmentType(compartmentType);

              return compartmentType;
            } else if (elementName.equals("speciesType")
                && list.getSBaseListType().equals(
View Full Code Here

TOP

Related Classes of org.sbml.jsbml.CompartmentType

Copyright © 2018 www.massapicom. 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.