IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.base
Interface OperationXValidate


public interface OperationXValidate

The cross-validation service interface for operations. A class that implements this interface can be attached to an operation via the "xVal=" attribute tag.


Method Summary
 void validate(java.lang.String fullyQualifiedName, DataField df, Context ctxt)
          Should contain the logic for the semantic validation based on business rules for a given field.
 java.lang.String[] xValidate(Context ctx)
          Performs the operation cross-validation service
 

Method Detail

xValidate

public java.lang.String[] xValidate(Context ctx)
Performs the operation cross-validation service

Returns:
String[] - The validation error string list

validate

public void validate(java.lang.String fullyQualifiedName,
                     DataField df,
                     Context ctxt)
              throws DSETypeException
Should contain the logic for the semantic validation based on business rules for a given field. It validates the value of the input data field. This data field should be available in the input context at the input fullyQualifiedName. Note that the input data field and the one available in the context are not the same instance, thus preventing the process to update the context if the validation fails.

Parameters:
fullyQualifiedName - java.lang.String
df - com.ibm.dse.base.DataField
Throws:
DSETypeException - - If the field has not been successfully validated

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005