adams.ml.requirement
Class ReqStringValue
java.lang.Object
adams.ml.requirement.ReqString
adams.ml.requirement.ReqStringValue
- All Implemented Interfaces:
- Requirement
public class ReqStringValue
- extends ReqString
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_regex_arr
protected String[] m_regex_arr
ReqStringValue
public ReqStringValue(String regex)
ReqStringValue
public ReqStringValue(String[] regex)
- Match any one of
- Parameters:
regex -
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 ReqString
- Parameters:
bd - cell
- Returns:
- error string, or null
Copyright © 2013 University of Waikato, Hamilton, NZ. All Rights Reserved.