public class SBMLModel extends SBMLSBase
documentNode, sbmlModel
Constructor | Description |
---|---|
SBMLModel(de.unirostock.sems.xmlutils.ds.DocumentNode documentNode,
SBMLDocument sbmlDocument) |
Instantiates a new SBML model.
|
Modifier and Type | Method | Description |
---|---|---|
SBMLCompartment |
getCompartment(String id) |
Gets the compartment.
|
HashMap<String,SBMLCompartment> |
getCompartments() |
Gets the compartments.
|
SBMLCompartmentType |
getCompartmentType(String id) |
Gets the compartment type.
|
HashMap<String,SBMLCompartmentType> |
getCompartmentTypes() |
Gets the compartment types.
|
List<SBMLConstraint> |
getConstraints() |
Gets the constraints.
|
SBMLDocument |
getDocument() |
Gets the SBML document.
|
List<SBMLEvent> |
getEvents() |
Gets the events.
|
SBMLSBase |
getFromMetaId(String metaId) |
Gets an entity given its meta id.
|
SBMLSBase |
getFromNode(de.unirostock.sems.xmlutils.ds.TreeNode node) |
Gets an entity given its tree node.
|
HashMap<String,SBMLFunctionDefinition> |
getFunctionDefinitions() |
Gets the function definitions.
|
String |
getID() |
Gets the id of the model.
|
List<SBMLInitialAssignment> |
getInitialAssignments() |
Gets the initial assignments.
|
String |
getName() |
Gets the name of the model.
|
HashMap<String,List<SBMLSBase>> |
getOntologyMappings() |
Gets the ontology mappings which group entities by there pointers into ontologies.
|
SBMLParameter |
getParameter(String id) |
Gets a specific parameter.
|
HashMap<String,SBMLParameter> |
getParameters() |
Gets the parameters.
|
SBMLReaction |
getReaction(String id) |
Gets a specific reaction.
|
HashMap<String,SBMLReaction> |
getReactions() |
Gets the reactions.
|
List<SBMLRule> |
getRules() |
Gets the rules.
|
static String |
getSidName(SBMLSBase ref) |
Gets the SId.
|
HashMap<String,SBMLSpecies> |
getSpecies() |
Gets the species.
|
SBMLSpecies |
getSpecies(String id) |
Gets the species.
|
SBMLSimpleSpeciesReference |
getSpeciesReference(String id) |
Gets the species reference.
|
SBMLSpeciesType |
getSpeciesType(String id) |
Gets the species type.
|
HashMap<String,SBMLSpeciesType> |
getSpeciesTypes() |
Gets the species types.
|
SBMLUnitDefinition |
getUnitDefinition(String kind) |
Gets the unit definition.
|
HashMap<String,SBMLUnitDefinition> |
getUnitDefinitions() |
Gets the unit definitions.
|
void |
mapNode(de.unirostock.sems.xmlutils.ds.DocumentNode node,
SBMLSBase sbase) |
Map node model node to its entity.
|
void |
registerSpeciesReference(String id,
SBMLSimpleSpeciesReference ref) |
Registers a species reference.
|
SBMLSBase |
resolveSymbol(String symbol) |
Resolve certain symbol.
|
SBMLSBase |
resolveSymbole(String symbol) |
Deprecated.
as of version 1.3.6, replaced by
resolveSymbol(String) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentNode, getModel
addOntologyLink, flagMetaModifcations, getAnnotation, getMetaId, getNotes, getOntologyLinks, getSBOTerm
public SBMLModel(de.unirostock.sems.xmlutils.ds.DocumentNode documentNode, SBMLDocument sbmlDocument) throws BivesSBMLParseException, de.unirostock.sems.bives.exception.BivesDocumentConsistencyException
documentNode
- the document node encoding this entity in the corresponding XML treesbmlDocument
- the SBML documentBivesSBMLParseException
- the bives sbml parse exceptionde.unirostock.sems.bives.exception.BivesDocumentConsistencyException
- the bives document consistency exceptionpublic HashMap<String,List<SBMLSBase>> getOntologyMappings()
public HashMap<String,SBMLFunctionDefinition> getFunctionDefinitions()
public HashMap<String,SBMLUnitDefinition> getUnitDefinitions()
public SBMLUnitDefinition getUnitDefinition(String kind)
kind
- the kindpublic SBMLCompartmentType getCompartmentType(String id)
id
- the idpublic HashMap<String,SBMLCompartmentType> getCompartmentTypes()
public HashMap<String,SBMLCompartment> getCompartments()
public SBMLCompartment getCompartment(String id)
id
- the idpublic SBMLSpecies getSpecies(String id)
id
- the idpublic HashMap<String,SBMLSpecies> getSpecies()
public SBMLSpeciesType getSpeciesType(String id)
id
- the idpublic HashMap<String,SBMLSpeciesType> getSpeciesTypes()
public HashMap<String,SBMLParameter> getParameters()
public SBMLParameter getParameter(String id)
id
- the id of the parameterpublic void registerSpeciesReference(String id, SBMLSimpleSpeciesReference ref)
id
- the id of the species referenceref
- the referencepublic SBMLSimpleSpeciesReference getSpeciesReference(String id)
id
- the id of the species referencepublic SBMLReaction getReaction(String id)
id
- the id of the reactionpublic HashMap<String,SBMLReaction> getReactions()
public List<SBMLConstraint> getConstraints()
public List<SBMLInitialAssignment> getInitialAssignments()
public String getID()
public String getName()
public void mapNode(de.unirostock.sems.xmlutils.ds.DocumentNode node, SBMLSBase sbase)
node
- the document node in the corresponding XML treesbase
- the entity to get mappedpublic SBMLSBase getFromNode(de.unirostock.sems.xmlutils.ds.TreeNode node)
node
- the node in the XML treepublic SBMLSBase getFromMetaId(String metaId)
metaId
- the meta idpublic SBMLDocument getDocument()
public SBMLSBase resolveSymbole(String symbol)
resolveSymbol(String)
symbol
- the symbolpublic SBMLSBase resolveSymbol(String symbol)
symbol
- the symbolCopyright © 2018 SEMS project @ University of Rostock. All rights reserved.