View Javadoc

1   /*
2    * $Id: IMaxResultNumberCapability.java,v 1.18 2011/06/16 09:29:40 jbmeslin Exp $
3    * 
4    */
5   package org.rcfaces.core.component.capability;
6   
7   /**
8    * 
9    * @author Olivier Oeuillot (latest modification by $Author: jbmeslin $)
10   * @version $Revision: 1.18 $ $Date: 2011/06/16 09:29:40 $
11   */
12  public interface IMaxResultNumberCapability {
13  
14      /**
15       * Sets an int value specifying the maximum number of rows for the result.
16       * 
17       * @param maximum
18       *            max number of rows
19       */
20      void setMaxResultNumber(int maximum);
21  
22      /**
23       * Returns an int value specifying the maximum number of rows for the
24       * result.
25       * 
26       * @return max number of rows
27       */
28      int getMaxResultNumber();
29  }