public class ModelVersion extends Object
Constructor and Description |
---|
ModelVersion(String versionId,
Date versionDate,
File file,
de.unirostock.sems.bives.ds.ModelDocument modelDoc,
Model model,
boolean isSbml)
Instantiates a new model version.
|
Modifier and Type | Method and Description |
---|---|
void |
clean()
Clean.
|
File |
getFile()
Gets the file.
|
de.unirostock.sems.bives.ds.ModelDocument |
getModelDocument()
Gets the model document.
|
String |
getUrl()
Gets the url.
|
Date |
getVersionDate()
Gets the version date.
|
String |
getVersionId()
Gets the version id.
|
String |
getXmlModelName()
Gets the xml model name.
|
boolean |
isCellml()
Checks if is cellml.
|
boolean |
isSbml()
Checks if is sbml.
|
String |
toString() |
public ModelVersion(String versionId, Date versionDate, File file, de.unirostock.sems.bives.ds.ModelDocument modelDoc, Model model, boolean isSbml)
versionId
- the version idversionDate
- the version datefile
- the filemodelDoc
- the model docmodel
- the modelisSbml
- the indicator for SBML -- if set to false it is CellML encodedpublic String getVersionId()
public Date getVersionDate()
public File getFile()
public de.unirostock.sems.bives.ds.ModelDocument getModelDocument()
public boolean isSbml()
public boolean isCellml()
public String getXmlModelName()
public String getUrl()
public void clean()
Copyright © 2018 SEMS project @ University of Rostock. All rights reserved.