All Packages Class Hierarchy This Package Previous Next Index
Class com.ibm.beans.samples.daps.sql.IsolationEditor
java.lang.Object
|
+----java.beans.PropertyEditorSupport
|
+----com.ibm.beans.samples.daps.sql.IsolationEditor
- public class IsolationEditor
- extends PropertyEditorSupport
The IsolationEditor implements a special case property editor for
database isolation levels.
It is used by the ConnectionBeanInfo class.
- See Also:
- ConnectionBeanInfo
-
isolationStrings
- Array of transaction isolation strings.
-
isolationValues
- Array of transaction isolation values.
-
IsolationEditor()
- Default constructor.
-
finalize()
- Finalize this object.
-
getAsText()
- Method to get the string representation of the current integer isolation
value.
-
getTags()
- Method to return the array of possible strings.
-
setAsText(String)
- Method to set the isolation value and convert from text to integer.
isolationStrings
protected static final transient String isolationStrings[]
- Array of transaction isolation strings.
These are used in the setAsText and getAsText methods.
isolationValues
protected static final transient int isolationValues[]
- Array of transaction isolation values.
These are used in the setAsText and getAsText methods.
IsolationEditor
public IsolationEditor()
- Default constructor.
finalize
protected void finalize() throws Throwable
- Finalize this object.
- Throws: Throwable
- Possibly thrown by the superclass.
- Overrides:
- finalize in class Object
getTags
public String[] getTags()
- Method to return the array of possible strings.
- Returns:
- The array of possible strings.
- Overrides:
- getTags in class PropertyEditorSupport
setAsText
public void setAsText(String text) throws IllegalArgumentException
- Method to set the isolation value and convert from text to integer.
- Parameters:
- text - The string representation of an isolation level.
- Throws: IllegalArgumentException
- Thrown if invalid isolation value
- Overrides:
- setAsText in class PropertyEditorSupport
getAsText
public String getAsText()
- Method to get the string representation of the current integer isolation
value.
- Returns:
- The string representation of an isolation level.
- Overrides:
- getAsText in class PropertyEditorSupport
All Packages Class Hierarchy This Package Previous Next Index