Class ScopeEnumConverter
java.lang.Object
java.beans.PropertyEditorSupport
org.odpi.openmetadata.governanceservers.lineagewarehouse.converters.ScopeEnumConverter
- All Implemented Interfaces:
PropertyEditor
Special support for the Scope enum.
-
Constructor Summary
-
Method Summary
Methods inherited from class java.beans.PropertyEditorSupport
addPropertyChangeListener, firePropertyChange, getAsText, getCustomEditor, getJavaInitializationString, getSource, getTags, getValue, isPaintable, paintValue, removePropertyChangeListener, setSource, setValue, supportsCustomEditor
-
Constructor Details
-
ScopeEnumConverter
public ScopeEnumConverter()
-
-
Method Details
-
setAsText
Convert the enum value from a string.- Specified by:
setAsText
in interfacePropertyEditor
- Overrides:
setAsText
in classPropertyEditorSupport
- Parameters:
text
- The string to be parsed.- Throws:
IllegalArgumentException
- problem with the supplied parameter.
-