ModelHistory-class {rsbml} | R Documentation

## SBML Type "ModelHistory"

### Description

Stores the history of an SBML model, including the created/modified dates and the creators.

### Objects from the Class

Objects can be created by calls of the form `new("ModelHistory", ...)`.

### Slots

`createdDate`:

  Object of class `"character"` representing the date/time of creation, in W3CDTF format: `YYYY-MM-DDThh:mm:ssTZD`, e.g. "1997-07-16T19:20:30+01:00".

`modifiedDate`:

  Object of class `"character"` representing the date/time of last modification, in W3CDTF format: `YYYY-MM-DDThh:mm:ssTZD`, e.g. "1997-07-16T19:20:30+01:00".

`creators`:

  Object of class `"list"` of instances of `ModelCreator`, one for each creator of the model.

### Methods

createdDate

  `signature(object = "ModelHistory")`: get the `createdDate` slot.

createdDate<-

  `signature(object = "ModelHistory", value = "character")`: Set the `createdDate` slot to a correctly formatted string.

createdDate<-

  `signature(object = "ModelHistory", value = "POSIXt")`: Set the `createdDate` slot with a `POSIXt` instance, obtained e.g. from `Sys.time`.

creators

  `signature(object = "ModelHistory")`: gets the `creators` slot.

creators<-

  `signature(object = "ModelHistory")`: sets the `creators` slot.

modifiedDate

  `signature(object = "ModelHistory")`: get the `modifiedDate` slot.

modifiedDate<-

  `signature(object = "ModelHistory", value = "character")`: Set the `modifiedDate` slot to a correctly formatted string.

modifiedDate<-

  `signature(object = "ModelHistory", value = "POSIXt")`: Set the `modifiedDate` slot with a `POSIXt` instance, obtained e.g. from `Sys.time`.

### Author(s)

Michael Lawrence

### References

http://sbml.org/documents/

[Package rsbml version 2.50.0 Index]