29.2.11. Protocols

This section gives an overview of how protocols that describe various processes, such as sampling, extraction and scanning, are used in BASE.

UML diagram

Figure 29.12. Protocols

Protocols

Protocols

A protocol is something that defines a procedure or recipe for some kind of action, such as sampling, extraction and scanning. In BASE we only store a short name and description. It is possible to attach a file that provides a longer description of the procedure.

Parameters

The procedure described by the protocol may have parameters that are set indepentently each time the protocol is used. It could for example be a temperature, a time or something else. The definition of parameters is done by creating annotation types and attaching them to the protocol. It is only possible to attach annotation types which has the protocolParameter property set to true. The same annotation type can be used for more than one protocol, but only do this if the parameters actually has the same meaning.