adams.ml.requirement
Class ReqIntegerMinMax
java.lang.Object
adams.ml.requirement.ReqInteger
adams.ml.requirement.ReqIntegerMinMax
- All Implemented Interfaces:
- Requirement
public class ReqIntegerMinMax
- extends ReqInteger
- Author:
- dale
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_min
public int m_min
m_max
public int m_max
ReqIntegerMinMax
public ReqIntegerMinMax(int min,
int max)
- Parameters:
min - max -
checkRequirement
public String checkRequirement(BaseData bd)
- Description copied from interface:
Requirement
- Checks if cell is ok.
If ok, return null
else return error String
Sets cell if possible (i.e string representation of int->int
- Specified by:
checkRequirement in interface Requirement- Overrides:
checkRequirement in class ReqInteger
- Parameters:
bd - cell
- Returns:
- error string, or null
Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.