com.ibm.dse.base
Class DSEXValidate
java.lang.Object
|
+--com.ibm.dse.base.DSEXValidate
- public class DSEXValidate
- extends java.lang.Object
This class is used as a base class for cross-validation
implementations.
It does not implement the OperationXValidate interface
itself but provides useful services for cross-validation
implementations written by the user.
Constructor Summary |
DSEXValidate()
This constructor creates a DSEXValidate object. |
Method Summary |
protected java.lang.String[] |
asStringArray(java.util.Vector vstr)
Converts a Vector of Strings into a String array. |
protected java.lang.String |
getStringValue(Context ctx,
java.lang.String name)
Returns a named string value from the specified context. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
DSEXValidate
public DSEXValidate()
- This constructor creates a DSEXValidate object.
asStringArray
protected java.lang.String[] asStringArray(java.util.Vector vstr)
- Converts a Vector of Strings into a String array.
Useful for collecting validation errors in a Vector
and then converting the Vector into the standard cross-
validation - String[] return type.
- Returns:
- String[] - The converted String[] value.
getStringValue
protected java.lang.String getStringValue(Context ctx,
java.lang.String name)
- Returns a named string value from the specified context.
Returns a blank string if the value does not exist.
- Returns:
- String - The context "named" String value.