Class UUIDEditor
- java.lang.Object
- java.beans.PropertyEditorSupport
- org.springframework.beans.propertyeditors.UUIDEditor
- All Implemented Interfaces:
PropertyEditor
public class UUIDEditor extends PropertyEditorSupport
Editor forjava.util.UUID
, translating UUID String representations into UUID objects and back.- Since:
- 3.0.1
- Author:
- Juergen Hoeller
- See Also:
UUID
Constructor Summary
Constructors Constructor Description UUIDEditor()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAsText()
void
setAsText(String text)
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
Constructor Detail
UUIDEditor
public UUIDEditor()
Method Detail
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Throws:
IllegalArgumentException
getAsText
public String getAsText()
- Specified by:
getAsText
in interfacePropertyEditor
- Overrides:
getAsText
in classPropertyEditorSupport