}
public void setDataElementsScannedFromScript(Iterable<DataElement> scanned) {
synchronized (lock) {
DataElementMap des = new DataElementMap(dataElements.get());
des.replaceScannedDataElements(scanned);
dataElements.set(des);
}
}
public void resetDataElements() {