IBM Branch Transformation Toolkit Javadoc

com.ibm.dse.gui
Class ValidationMethodFields

java.lang.Object
  extended bycom.ibm.dse.gui.ValidationMethodFields
All Implemented Interfaces:
java.io.Serializable

public class ValidationMethodFields
extends java.lang.Object
implements java.io.Serializable

The ValidationMethodFields class is used by the GlobalValidationEditor to encapsulate the validation method and the error message specified by the user.

See Also:
Serialized Form

Constructor Summary
ValidationMethodFields(java.lang.String Vclass, java.lang.String Method, java.lang.String Error)
          This constructor creates a ValidationMethodFields object.
 
Method Summary
 java.lang.String getErrorMessage()
          Gets the error message property value.
 java.lang.String getValidationClass()
          Gets the validation class name property value.
 java.lang.String getValidationMethod()
          Gets the validation method name property value.
 void setErrorMessage(java.lang.String errorMessage)
          Sets the error message property (java.lang.String) value.
 void setValidationClass(java.lang.String validationClass)
          Sets the validation class name property (java.lang.String) value.
 void setValidationMethod(java.lang.String validationMethod)
          Sets the validation method name property (java.lang.String) value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationMethodFields

public ValidationMethodFields(java.lang.String Vclass,
                              java.lang.String Method,
                              java.lang.String Error)
This constructor creates a ValidationMethodFields object.

Parameters:
Vclass - Validation class name.
Method - Validation method name in validation class.
Error - Message error when validation method retuns false.
Method Detail

getErrorMessage

public java.lang.String getErrorMessage()
Gets the error message property value.

Returns:
java.lang.String - Error message property

getValidationClass

public java.lang.String getValidationClass()
Gets the validation class name property value.

Returns:
java.lang.String - Validation class name

getValidationMethod

public java.lang.String getValidationMethod()
Gets the validation method name property value.

Returns:
java.lang.String - Validation method name

setErrorMessage

public void setErrorMessage(java.lang.String errorMessage)
Sets the error message property (java.lang.String) value.

Parameters:
errorMessage - String, the new value for the property.
See Also:
getErrorMessage()

setValidationClass

public void setValidationClass(java.lang.String validationClass)
Sets the validation class name property (java.lang.String) value.

Parameters:
validationClass - String, the new value for the property.
See Also:
getValidationClass()

setValidationMethod

public void setValidationMethod(java.lang.String validationMethod)
Sets the validation method name property (java.lang.String) value.

Parameters:
validationMethod - String, the new value for the property.
See Also:
getValidationMethod()

IBM Branch Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2005