public abstract class CellMLEntity extends Object
Modifier and Type | Field and Description |
---|---|
protected CellMLModel |
model
The model.
|
Constructor and Description |
---|
CellMLEntity(de.unirostock.sems.xmlutils.ds.DocumentNode node,
CellMLModel model)
Instantiates a new CellML entity.
|
Modifier and Type | Method and Description |
---|---|
void |
associateRdfDescription(de.unirostock.sems.bives.ds.rdf.RDFDescription descr)
Associate an rdf description.
|
de.unirostock.sems.xmlutils.ds.DocumentNode |
getDocumentNode()
Gets the document node.
|
String |
getMetaId()
Gets the CellML meta id of this entity.
|
CellMLModel |
getModel()
Gets the corresponding model.
|
List<de.unirostock.sems.bives.ds.rdf.RDF> |
getRdfBlocks()
Gets the RDF descriptions, if there are any rooted in this entity.
|
List<de.unirostock.sems.bives.ds.rdf.RDFDescription> |
getRdfDescriptions()
Gets the rdf descriptions.
|
boolean |
setMetaId(String metaId)
Sets the meta id of this entity.
|
void |
setModel(CellMLModel model)
Sets the model.
|
protected CellMLModel model
public CellMLEntity(de.unirostock.sems.xmlutils.ds.DocumentNode node, CellMLModel model) throws de.unirostock.sems.bives.exception.BivesLogicalException
node
- the corresponding node in the XML documentmodel
- the modelde.unirostock.sems.bives.exception.BivesLogicalException
public de.unirostock.sems.xmlutils.ds.DocumentNode getDocumentNode()
public List<de.unirostock.sems.bives.ds.rdf.RDF> getRdfBlocks()
public CellMLModel getModel()
public void setModel(CellMLModel model) throws de.unirostock.sems.bives.exception.BivesLogicalException
model
- the new modelde.unirostock.sems.bives.exception.BivesLogicalException
public boolean setMetaId(String metaId) throws de.unirostock.sems.bives.exception.BivesLogicalException
metaId
- the meta idde.unirostock.sems.bives.exception.BivesLogicalException
public String getMetaId()
public void associateRdfDescription(de.unirostock.sems.bives.ds.rdf.RDFDescription descr)
descr
- the descriptionpublic List<de.unirostock.sems.bives.ds.rdf.RDFDescription> getRdfDescriptions()
Copyright © 2017 SEMS project @ University of Rostock. All rights reserved.