1
|
// $Id$
|
2
|
/**
|
3
|
* Copyright (C) 2009 EDIT
|
4
|
* European Distributed Institute of Taxonomy
|
5
|
* http://www.e-taxonomy.eu
|
6
|
*
|
7
|
* The contents of this file are subject to the Mozilla Public License Version 1.1
|
8
|
* See LICENSE.TXT at the top of this package for the full license terms.
|
9
|
*/
|
10
|
|
11
|
package eu.etaxonomy.cdm.remote.editor;
|
12
|
|
13
|
import java.beans.PropertyEditorSupport;
|
14
|
import java.util.UUID;
|
15
|
|
16
|
public class UUIDPropertyEditor extends PropertyEditorSupport {
|
17
|
|
18
|
public void setAsText(String text) {
|
19
|
setValue(UUID.fromString(text));
|
20
|
}
|
21
|
}
|