View Javadoc

1   /**
2    * BSD-style license; for more info see http://pmd.sourceforge.net/license.html
3    */
4   package net.sourceforge.pmd;
5   
6   /**
7    * Defines a descriptor type whose instance values are required lie within specified upper and 
8    * lower limits.
9    *  
10   * @author Brian Remedios
11   *
12   * @param <T>
13   */
14  public interface NumericPropertyDescriptor<T extends Object > extends PropertyDescriptor<T> {
15  
16      /**
17       *  Returns the maximum value that instances of the property can have
18       * @return Number
19       */
20      Number upperLimit();
21      
22      /**
23       *  Returns the minimum value that instances of the property can have
24       * @return Number
25       */
26      Number lowerLimit();
27  }