eLabSDK.Inventory.Sample

Functions

NameDescription
initialize - innitialises the Sample class and loads a sample if during the init config data was passed through(sampleIDs, fnWhenReady)
getPropertyByName - returns the value of the passed in propertyname(propertyname)
getPropertyBySampleTypeMetaID - returns the property object[] (key/value) by sampleTypeMetaID(sampleTypeMetaID)
[getPropertyBySampleMetaID - returns the property object[] (key/value) by sampleMetaID(sampleTypeMetaID)]
[getMeta - returns the meta value of the current sample()]
[getName - returns the name value of the current sample()]
[getDescription - returns the description value of the current sample()]
[getNotes - returns the notes value of the current sample()]
[getBarcode - returns the barcode value of the current sample()]
[remove - removes the current sample(fnWhenReady)]
[setMeta - sets the meta key/value for the current sample(sampleMetaData)]
[setName - sets the name string for the current sample(name)]
[setDescription - sets the description string for the current sample(description)]
[setNotes - sets the note string for the current sample(note)]
[save - saves the sample(fnWhenReady)]

initialize - innitialises the Sample class and loads a sample if during the init config data was passed through(sampleIDs, fnWhenReady)

Kind: global function

ParamType
sampleIDsstring
fnWhenReadyfunction

getPropertyByName - returns the value of the passed in propertyname(propertyname)

Kind: global function

ParamType
propertynamestring

getPropertyBySampleTypeMetaID - returns the property object[] (key/value) by sampleTypeMetaID(sampleTypeMetaID)

Kind: global function

ParamType
sampleTypeMetaIDint

getPropertyBySampleMetaID - returns the property object[] (key/value) by sampleMetaID(sampleTypeMetaID)

Kind: global function

ParamType
sampleTypeMetaIDint

getMeta - returns the meta value of the current sample()

Kind: global function

getName - returns the name value of the current sample()

Kind: global function

getDescription - returns the description value of the current sample()

Kind: global function

getNotes - returns the notes value of the current sample()

Kind: global function

getBarcode - returns the barcode value of the current sample()

Kind: global function

remove - removes the current sample(fnWhenReady)

Kind: global function

ParamType
fnWhenReadyfunction

setMeta - sets the meta key/value for the current sample(sampleMetaData)

Kind: global function

ParamType
sampleMetaDataobject

setName - sets the name string for the current sample(name)

Kind: global function

ParamType
namestring

setDescription - sets the description string for the current sample(description)

Kind: global function

ParamType
descriptionstring

setNotes - sets the note string for the current sample(note)

Kind: global function

ParamType
notestring

save - saves the sample(fnWhenReady)

Kind: global function

ParamType
fnWhenReadyfunction

[getPropertyBySampleMetaID - returns the property object[] (key/value) by sampleMetaID(sampleTypeMetaID)]:#getpropertybysamplemetaid---returns-the-property-object-keyvalue-by-samplemetaidsampletypemetaid
[getMeta - returns the meta value of the current sample()]:#getmeta---returns-the-meta-value-of-the-current-sample
[getName - returns the name value of the current sample()]:#getname---returns-the-name-value-of-the-current-sample
[getDescription - returns the description value of the current sample()]:#getdescription---returns-the-description-value-of-the-current-sample
[getNotes - returns the notes value of the current sample()]:#getnotes---returns-the-notes-value-of-the-current-sample
[getBarcode - returns the barcode value of the current sample()]:#getbarcode---returns-the-barcode-value-of-the-current-sample
[remove - removes the current sample(fnWhenReady)]:#remove---removes-the-current-samplefnwhenready
[setMeta - sets the meta key/value for the current sample(sampleMetaData)]:#setmeta---sets-the-meta-keyvalue-for-the-current-samplesamplemetadata
[setName - sets the name string for the current sample(name)]:#setname---sets-the-name-string-for-the-current-samplename
[setDescription - sets the description string for the current sample(description)]:#setdescription---sets-the-description-string-for-the-current-sampledescription
[setNotes - sets the note string for the current sample(note)]:#setnotes---sets-the-note-string-for-the-current-samplenote
[save - saves the sample(fnWhenReady)]:#save---saves-the-samplefnwhenready


© 2023 eLabNext