/** * Returns the listOfUnitDefinitions of this {@link Model}. * * @return the listOfUnitDefinitions of this {@link Model}. */ public ListOf<UnitDefinition> getListOfUnitDefinitions() { if (listOfUnitDefinitions == null) { listOfUnitDefinitions = ListOf.newInstance(this, UnitDefinition.class); registerChild(listOfUnitDefinitions); } return listOfUnitDefinitions; }
/** * Returns the listOfEvents of this {@link Model}. * * @return the listOfEvents of this {@link Model}. */ public ListOf<Event> getListOfEvents() { if (listOfEvents == null) { listOfEvents = ListOf.newInstance(this, Event.class); registerChild(listOfEvents); } return listOfEvents; }
/** * Returns the listOfCompartments of this {@link Model}. * * @return the listOfCompartments of this {@link Model}. */ public ListOf<Compartment> getListOfCompartments() { if (listOfCompartments == null) { listOfCompartments = ListOf.newInstance(this, Compartment.class); registerChild(listOfCompartments); } return listOfCompartments; }
/** * Returns the {@link #listOfParameters} of this {@link Model}. * * @return the {@link #listOfParameters} of this {@link Model}. */ public ListOf<Parameter> getListOfParameters() { if (listOfParameters == null) { listOfParameters = ListOf.newInstance(this, Parameter.class); registerChild(listOfParameters); } return listOfParameters; }
/** * Returns the {@link #listOfSpecies} of this {@link Model}. * * @return the {@link #listOfSpecies} of this {@link Model}. */ public ListOf<Species> getListOfSpecies() { if (listOfSpecies == null) { listOfSpecies = ListOf.newInstance(this, Species.class); registerChild(listOfSpecies); } return listOfSpecies; }
/** * Returns the listOfConstraints of this {@link Model}. * * @return the listOfConstraints of this {@link Model}. set. */ public ListOf<Constraint> getListOfConstraints() { if (listOfConstraints == null) { listOfConstraints = ListOf.newInstance(this, Constraint.class); registerChild(listOfConstraints); } return listOfConstraints; }
/** * Returns the listOfReactions of this {@link Model}. * * @return the listOfReactions of this {@link Model}. */ public ListOf<Reaction> getListOfReactions() { if (listOfReactions == null) { listOfReactions = ListOf.newInstance(this, Reaction.class); registerChild(listOfReactions); } return listOfReactions; }
/** * Returns the listOfRules of this {@link Model}. * * @return the listOfRules of this {@link Model}. */ public ListOf<Rule> getListOfRules() { if (listOfRules == null) { listOfRules = ListOf.newInstance(this, Rule.class); registerChild(listOfRules); } return listOfRules; }
/** * Returns the listOfFunctionDefinitions of this {@link Model}. * * @return the listOfFunctionDefinitions of this {@link Model}. */ public ListOf<FunctionDefinition> getListOfFunctionDefinitions() { if (listOfFunctionDefinitions == null) { listOfFunctionDefinitions = ListOf.newInstance(this, FunctionDefinition.class); registerChild(listOfFunctionDefinitions); } return listOfFunctionDefinitions; }
/** * Returns the listOfInitialAssignments of this {@link Model}. * * @return the listOfInitialAssignments of this {@link Model}. */ public ListOf<InitialAssignment> getListOfInitialAssignments() { if (listOfInitialAssignments == null) { listOfInitialAssignments = ListOf.newInstance(this, InitialAssignment.class); registerChild(listOfInitialAssignments); } return listOfInitialAssignments; }
/** * Returns the listOfCompartmentTypes of this {@link Model}. * * @return the listOfCompartmentTypes of this {@link Model}. * @deprecated Only valid in SBML Level 2 for Versions 2 through 4. */ @Deprecated public ListOf<CompartmentType> getListOfCompartmentTypes() { if (listOfCompartmentTypes == null) { listOfCompartmentTypes = ListOf.newInstance(this, CompartmentType.class); registerChild(listOfCompartmentTypes); } return listOfCompartmentTypes; }
/** * Returns the listOfSpeciesTypes of this {@link Model}. * * @return the listOfSpeciesTypes of this {@link Model}. * @deprecated Only valid in SBML Level 2 for Versions 2 through 4. */ @Deprecated public ListOf<SpeciesType> getListOfSpeciesTypes() { if (listOfSpeciesTypes == null) { listOfSpeciesTypes = ListOf.newInstance(this, SpeciesType.class); registerChild(listOfSpeciesTypes); } return listOfSpeciesTypes; }
/** * Sets the value of geometry * @param geometry */ public void setGeometry(Geometry geometry) { Geometry oldGeometry = this.geometry; this.geometry = geometry; if (isSetExtendedSBase()) { getExtendedSBase().registerChild(geometry); } firePropertyChange(SpatialConstants.geometry, oldGeometry, this.geometry); }
/** * Sets the {@link #listOfReactions} of this {@link Model} to * 'listOfReactions'. Automatically sets the parentSBML objects of * 'listOfReactions' to this Model. * * @param listOfReactions */ public void setListOfReactions(ListOf<Reaction> listOfReactions) { unsetListOfReactions(); this.listOfReactions = listOfReactions; if ((this.listOfReactions != null) && (this.listOfReactions.getSBaseListType() != ListOf.Type.listOfReactions)) { this.listOfReactions.setSBaseListType(ListOf.Type.listOfReactions); } registerChild(this.listOfReactions); }
/** * Sets the listOfEvents of this {@link Model} to 'listOfEvents'. * Automatically sets the parentSBML objects of 'listOfEvents' to this * {@link Model}. * * @param listOfEvents */ public void setListOfEvents(ListOf<Event> listOfEvents) { unsetListOfEvents(); this.listOfEvents = listOfEvents; if ((this.listOfEvents != null) && (this.listOfEvents.getSBaseListType() != ListOf.Type.listOfEvents)) { this.listOfEvents.setSBaseListType(ListOf.Type.listOfEvents); } registerChild(this.listOfEvents); }
/** * Sets the {@link #listOfParameters} of this {@link Model} to * 'listOfParameters'. Automatically sets the parentSBML objects of * 'listOfParameters' to this Model. * * @param listOfParameters */ public void setListOfParameters(ListOf<Parameter> listOfParameters) { unsetListOfParameters(); this.listOfParameters = listOfParameters; if ((this.listOfParameters != null) && (this.listOfParameters.getSBaseListType() != ListOf.Type.listOfParameters)) { this.listOfParameters.setSBaseListType(ListOf.Type.listOfParameters); } registerChild(listOfParameters); }
/** * Sets the {@link #listOfRules} of this {@link Model} to 'listOfRules'. * Automatically sets the parentSBML objects of 'listOfRules' to this Model. * * @param listOfRules */ public void setListOfRules(ListOf<Rule> listOfRules) { unsetListOfRules(); this.listOfRules = listOfRules; if ((this.listOfRules != null) && (this.listOfRules.getSBaseListType() != ListOf.Type.listOfRules)) { this.listOfRules.setSBaseListType(ListOf.Type.listOfRules); } registerChild(this.listOfRules); }
/** * Sets the listOfSpecies of this {@link Model} to 'listOfSpecies'. * Automatically sets the parentSBML objects of 'listOfSpecies' to this Model. * * @param listOfSpecies */ public void setListOfSpecies(ListOf<Species> listOfSpecies) { unsetListOfSpecies(); this.listOfSpecies = listOfSpecies; if ((this.listOfSpecies != null) && (this.listOfSpecies.getSBaseListType() != ListOf.Type.listOfSpecies)) { this.listOfSpecies.setSBaseListType(ListOf.Type.listOfSpecies); } registerChild(this.listOfSpecies); }
/** * Sets the listOfCompartments of this {@link Model} to 'listOfCompartments'. * Automatically sets the parentSBML objects of 'listOfCompartments' to this * Model. * * @param listOfCompartments */ public void setListOfCompartments(ListOf<Compartment> listOfCompartments) { unsetListOfCompartments(); this.listOfCompartments = listOfCompartments; if ((this.listOfCompartments != null) && (this.listOfCompartments.getSBaseListType() != ListOf.Type.listOfCompartments)) { this.listOfCompartments.setSBaseListType(ListOf.Type.listOfCompartments); } registerChild(this.listOfCompartments); }
/** * Sets the listOfConstraints of this {@link Model} to 'listOfConstraints'. * Automatically sets the parentSBML objects of 'listOfCanstraints' to this * Model. * * @param listOfConstraints * the listOfConstraints to set */ public void setListOfConstraints(ListOf<Constraint> listOfConstraints) { unsetListOfConstraints(); this.listOfConstraints = listOfConstraints; if ((this.listOfConstraints != null) && (this.listOfConstraints.getSBaseListType() != ListOf.Type.listOfConstraints)) { this.listOfConstraints.setSBaseListType(ListOf.Type.listOfConstraints); } registerChild(this.listOfConstraints); }