Interface ObjectValidator

public interface ObjectValidator

The ObjectValidator class provides the means for you to define custom validation logic to be performed against fields in an enterprise object after a transaction and before the updated enterprise object is saved to the database. Define the logic in custom plug-ins that perform the validation. These plug-ins must implement the Object Validator class. Once you create the custom plug-ins containing the validation logic, enter the name of the plug-in in the Field Validation file as described in the eView Studio User's Guide.

Method Summary
 void validate(ObjectNode node)
          Performs a validation against the given object node.

Method Detail


public void validate(ObjectNode node)
              throws ValidationException
Performs a validation against the given object node.

node - The object node to validate.
void - None.
ValidationException - Thrown if there was an error found during validation.

Copyright 2007 by Sun Microsystems, Inc. All Rights Reserved.