IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.base
Class BTTXValidate

java.lang.Object
  extended by com.ibm.btt.base.BTTXValidate

public class BTTXValidate
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
BTTXValidate()
          This constructor creates a BTTXValidate 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
 

Constructor Detail

BTTXValidate

public BTTXValidate()
This constructor creates a BTTXValidate object.

Method Detail

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.

Parameters:
vstr - java.util.Vector
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.

Parameters:
ctx - com.ibm.btt.base.Context
name - java.lang.String
Returns:
String - The context named String value.

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011