Generated by
JDiff

Class org.sbml.jsbml.Model

Added Methods
SBase findUniqueSBase(String) Returns a SBase element that has the given unique 'id' within this Model or {@code null} if no such element can be found.
AssignmentRule getAssignmentRuleByVariable(String) Searches for the first instance of AssignmentRule within this Model's .listOfRules, whose variable attribute is set to the value passed to this method.
SBase getElementBySId(String) Returns an SBase element of the model that has the given 'id' as id or {@code null} if no element is found.
InitialAssignment getInitialAssignmentById(String) Returns the InitialAssignment of the .listOfInitialAssignments whose {@code id} attribute, has the given {@code id} as identifier.
InitialAssignment getInitialAssignmentBySymbol(String) Returns the InitialAssignment of the .listOfInitialAssignments whose {@code symbol} attribute, i.e., whose Variable has the given {@code variable} as identifier.
RateRule getRateRuleByVariable(String) Searches for the first instance of RateRule within this Model's .listOfRules, whose variable attribute is set to the value passed to this method.
Rule getRuleById(String) Searches for the first instance of Rule within this Model's .listOfRules, whose id attribute is set to the value passed to this method.
ExplicitRule getRuleByVariable(String) Searches for the first instance of ExplicitRule within this Model's .listOfRules, whose variable attribute is set to the value passed to this method.
SBase getSBaseById(String) Returns an SBase element of the model that has the given 'id' as id or {@code null} if no element is found.
UnitDefinition getUnitDefinitionById(String) Returns a UnitDefinition element that has the given 'id' within this Model or {@code null} if no such element can be found.
boolean isListOfCompartmentTypesEmpty() Checks if the listOfCompartmentTypes is != null, but has no children.
boolean isListOfCompartmentsEmpty() Checks if the listOfCompartments is != null, but has no children.
boolean isListOfConstraintsEmpty() Checks if the listOfConstraints is != null, but has no children.
boolean isListOfEventsEmpty() Checks if the listOfEvents is != null, but has no children.
boolean isListOfFunctionDefinitionsEmpty() Checks if the listOfFunctionDefinitions is != null, but has no children.
boolean isListOfInitialAssignmentsEmpty() Checks if the listOfInitialAssignments is != null, but has no children.
boolean isListOfParametersEmpty() Checks if the listOfParameters is != null, but has no children.
boolean isListOfReactionsEmpty() Checks if the listOfReactions is != null, but has no children.
boolean isListOfRulesEmpty() Checks if the listOfRules is != null, but has no children.
boolean isListOfSpeciesEmpty() Checks if the listOfSpecies is != null, but has no children.
boolean isListOfSpeciesTypesEmpty() Checks if the listOfSpeciesTypes is != null, but has no children.
boolean isListOfUnitDefinitionEmpty() Checks if the listOfUnitDefinitions is != null, but has no children.
 

Changed Methods
SBase remove(String) Change in return type from UniqueNamedSBase to SBase.
Removes any UniqueNamedSBase with the given identifier from this Model and returns the removed element if the operation was successful.
InitialAssignment getInitialAssignment(String) Now deprecated.
Since L3V2, every {@link SBase} can have an id.
ExplicitRule getRule(String) Now deprecated.
Since L3V2 every {@link SBase} can have an id.