Class symantec.itools.db.beans.brl.validation.date.DateValidation
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class symantec.itools.db.beans.brl.validation.date.DateValidation

Object
   |
   +----symantec.itools.db.beans.brl.validation.date.DateValidation

public class DateValidation
extends Object
implements Validation
Class for generic validation function for date datatypes

Version:
1.0 10/21/98
Author:
Puru Balakrishnan

Constructor Index

 o symantec.itools.db.beans.brl.validation.date.DateValidation()

Method Index

 o getDisplayString()
Method to return a String which would be used for displaying method information to the user Example: For a class which calculates the sum of three columns using a description like "sum( ?,?,? )" would be appropriate.
 o validate(ValidationRow)

return the computed value from the passed in input Row.

Constructors

 o DateValidation
public DateValidation()

Methods

 o getDisplayString
public java.lang.String getDisplayString()
Method to return a String which would be used for displaying method information to the user Example: For a class which calculates the sum of three columns using a description like "sum( ?,?,? )" would be appropriate.

Returns:
String representing the display name
 o validate
public void validate(ValidationRow inputRow) throws ValidationException

return the computed value from the passed in input Row. The first parameter ,ComputeRow, is a grouping of columns which are to be used for calculating the new derived value. These columns could represent constant as well as real database columns.

Parameters:
inputRow - row of input columns
Throws: ValidationException
if rule validation fails
See Also:
ComputeRow

All Packages  Class Hierarchy  This Package  Previous  Next  Index