The experiment object base class which describes basic characteristics of a protocol or an experimental run. Many experiment classes (such as Run, Data, and Material) are subclasses of ExpObject, so they provide the fields defined by this object (e.g., name, lsid, etc).

Hierarchy (view full)

Constructors

Properties

batchProtocolId?: number
comment: string

User editable comment.

created: Date

The person who created the ExpObject.

createdBy: string

The person who created the ExpObject.

hidden?: boolean
id: number

The id of the ExpObject

lsid: string

The LSID of the ExpObject

modified: Date

When the ExpObject was last modified.

modifiedBy: string

The person who last modified the ExpObject.

name: string

The name of the ExpObject

properties: Record<string, any>

Map of property descriptor names to values. Most types, such as strings and numbers, are just stored as simple properties. Properties of type FileLink will be returned by the server in the same format as Data objects (missing many properties such as id and createdBy if they exist on disk but have no row with metadata in the database). FileLink values are accepted from the client in the same way, or a simple value of the following three types: the data's RowId, the data's LSID, or the full path on the server's file system.

rowId: number

The id of the ExpObject (alias of id property)

runs?: Run[]