private void setUUID(String id) {
final Context context = Context.current();
final ValueConverter converter = Context.converter(context);
final UUID uuid;
try {
uuid = converter.toUUID(context, id);
} catch (IllegalArgumentException e) {
// IF we can not store the value as a UUID, store it as a String.
Context.warningOccured(context, this, ISOMetadata.class, "setUUID", e, false);
id = CharSequences.trimWhitespaces(id);
if (id != null && !id.isEmpty()) {