DataClass represents a set of ExpData objects that share a set of properties. This class defines the set of fields that you you wish to attach to all datas in the group. Within the DataClass, each Data has a unique name.

Hierarchy (view full)

Constructors

Properties

comment: string

User editable comment.

created: Date

The person who created the ExpObject.

createdBy: string

The person who created the ExpObject.

description: string

Description of the DataClass.

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

nameExpression: string

Optional name expression used to generate unique names for ExpData inserted into the DataClass.

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)

The optional SampleSet the DataClass is associated with.

Generated using TypeDoc