View Javadoc

1   /*
2    * $Id: IRequiredCapability.java,v 1.18 2011/06/16 09:29:40 jbmeslin Exp $
3    * 
4    */
5   package org.rcfaces.core.component.capability;
6   
7   /**
8    * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
9    * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
10   */
11  public interface IRequiredCapability {
12  
13      /**
14       * Returns a boolean value indicating that the user is required to provide a
15       * submitted value for this input component.
16       * 
17       * @return required boolean property
18       */
19      boolean isRequired();
20  
21      /**
22       * Sets a boolean value indicating that the user is required to provide a
23       * submitted value for this input component.
24       * 
25       * @param required
26       *            required boolean property
27       */
28      void setRequired(boolean required);
29  }