Class TraceabilityUtils
Public class TraceabilityUtils contains useful utility methods for
working with traceability IDs. The following table lists a few of these methods.
| Method | Returns | Usage |
|---|---|---|
| setTraceabilityID(traceabilityID) | - | Sets the traceability ID to the specified value. |
| getTraceabilityID() | String |
Retrieves the value of the current traceability ID. |
| removeTraceabilityID() | - | Deletes the value of the current traceability ID. |
For example, to set the traceability ID for a specific transaction, you can explicitly
create a new traceability ID using the following syntax:
-
TraceabilityUtils.setTraceabilityID("tr-1-1111")
