public class Model extends Object
Constructor and Description |
---|
Model(String id)
Instantiates a new model.
|
Modifier and Type | Method and Description |
---|---|
void |
addVersion(String versionId,
Date date,
File versionFile,
de.unirostock.sems.bives.ds.ModelDocument model,
boolean isSbml)
Adds the version.
|
void |
clean()
Clean.
|
String |
getId()
Gets the id.
|
String |
getName()
Gets the name.
|
ModelVersion |
getVersion(Date date)
Gets the version.
|
Set<Date> |
getVersions()
Gets the versions.
|
public Model(String id)
id
- the idpublic void clean()
public String getName()
public void addVersion(String versionId, Date date, File versionFile, de.unirostock.sems.bives.ds.ModelDocument model, boolean isSbml)
versionId
- the version iddate
- the dateversionFile
- the version filemodel
- the modelisSbml
- the is sbmlpublic ModelVersion getVersion(Date date)
date
- the datepublic String getId()
Copyright © 2018 SEMS project @ University of Rostock. All rights reserved.