NumericPropertyDescriptor.java
01 package net.sourceforge.pmd;
02 
03 /**
04  * Defines a descriptor type whose instance values are required lie within specified upper and 
05  * lower limits.
06  *  
07  @author Brian Remedios
08  *
09  @param <T>
10  */
11 public interface NumericPropertyDescriptor<T extends Object > extends PropertyDescriptor<T> {
12 
13     /**
14      *  Returns the maximum value that instances of the property can have
15      @return Number
16      */
17     Number upperLimit();
18     
19     /**
20      *  Returns the minimum value that instances of the property can have
21      @return Number
22      */
23     Number lowerLimit();
24 }