Skip to content

Snapshot

A versioned snapshot of a CARP Core domain object.

Gives an object a unique id, a createdOn timestamp and a version number. StudyProtocol extends it.

Implementers

Constructors

Snapshot

Snapshot([
  1. String? id
])

Properties

createdOn

DateTime createdOn
getter/setter pair

When the object represented by this snapshot was created, in UTC.

id

String id
getter/setter pair

Unique id for this object. A random UUID (v4) if not specified.

version

int version
getter/setter pair

The number of edits made to the object represented by this snapshot, indicating its version number. Starts at 0.