SBMLCompartment
, SBMLCompartmentType
, SBMLFunctionDefinition
, SBMLParameter
, SBMLReaction
, SBMLSpecies
, SBMLSpeciesType
, SBMLUnitDefinition
public abstract class SBMLGenericIdNameObject extends SBMLSBase
Modifier and Type | Field | Description |
---|---|---|
protected String |
id |
The id.
|
protected String |
name |
The name.
|
documentNode, sbmlModel
Constructor | Description |
---|---|
SBMLGenericIdNameObject(de.unirostock.sems.xmlutils.ds.DocumentNode documentNode,
SBMLModel sbmlModel) |
Instantiates a new SBML generic id-name-object.
|
Modifier and Type | Method | Description |
---|---|---|
String |
getID() |
Gets the id.
|
String |
getName() |
Gets the name.
|
String |
getNameAndId() |
Gets the name (if defined) and the id as:
NAME (ID) . |
String |
getNameOrId() |
Gets the name (if defined) or the id (if name undefined).
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDocumentNode, getModel
addOntologyLink, flagMetaModifcations, getAnnotation, getMetaId, getNotes, getOntologyLinks, getSBOTerm
public SBMLGenericIdNameObject(de.unirostock.sems.xmlutils.ds.DocumentNode documentNode, SBMLModel sbmlModel) throws BivesSBMLParseException
documentNode
- the document node encoding this entity in the corresponding XML treesbmlModel
- the SBML modelBivesSBMLParseException
- the bives sbml parse exceptionpublic final String getNameOrId()
public final String getNameAndId()
NAME (ID)
.public final String getID()
public final String getName()
Copyright © 2018 SEMS project @ University of Rostock. All rights reserved.