1 /*
2 * $Id: IClientValidationCapability.java,v 1.18 2011/06/16 09:29:40 jbmeslin Exp $
3 *
4 */
5 package org.rcfaces.core.component.capability;
6
7 /**
8 * A key identifying a validation process to apply to the component. this
9 * validation process can handle parameters. cf. the clientValidator doc.
10 *
11 * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
12 * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
13 */
14 public interface IClientValidationCapability {
15
16 /**
17 * Returns a key identifying a validation process to apply to the component.
18 * this validation process can handle parameters. cf. the clientValidator
19 * doc.
20 *
21 * @return client validator key
22 */
23 String getClientValidator();
24
25 /**
26 * Sets a key identifying a validation process to apply to the component.
27 * this validation process can handle parameters. cf. the clientValidator
28 * doc.
29 *
30 * @param validator
31 * client validator key
32 */
33 void setClientValidator(String validator);
34 }