adams.ml.requirement
Class ReqIntegerValue

java.lang.Object
  extended by adams.ml.requirement.ReqInteger
      extended by adams.ml.requirement.ReqIntegerValue
All Implemented Interfaces:
Requirement

public class ReqIntegerValue
extends ReqInteger

Author:
dale

Field Summary
 int m_value
           
 
Constructor Summary
ReqIntegerValue(int value)
           
 
Method Summary
 String checkRequirement(BaseData bd)
          Checks if cell is ok.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_value

public int m_value
Constructor Detail

ReqIntegerValue

public ReqIntegerValue(int value)
Parameters:
min -
max -
Method Detail

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.