| java.lang.Object net.firstpartners.nounit.ui.common.AbstractValueChecker
All known Subclasses: net.firstpartners.nounit.ui.common.CommandValueChecker, net.firstpartners.nounit.ui.common.LightWeightValueChecker,
AbstractValueChecker | abstract public class AbstractValueChecker (Code) | | Abstract class with methods to check values
|
checkForDirsExist | protected void checkForDirsExist(AbstractPackage inValues, Map namesToCheck) throws NoUnitException(Code) | | Checks that Directories Exist under the requested Keys
Parameters: inValues - - AbstractPackage to check Parameters: namesToCheck - - Hashmap of Names to carry out checks on , plus 'English Names' exception: NoUnitException - |
checkForNullEmptyString | protected void checkForNullEmptyString(AbstractPackage inValues, HashMap namesToCheck) throws NoUnitException(Code) | | Checks for Null, empty and instance of Strings under Named keys in AbstractPackage
Parameters: inValues - - AbstractPackage to check Parameters: namesToCheck - - Hashmap of Names to carry out checks on , plus 'English Names' exception: NoUnitException - exception: NumberFormatException - |
checkForNumbers | boolean checkForNumbers(AbstractPackage inValues, HashMap namesToCheck) throws NoUnitException(Code) | | Checks for Numbers under Named keys in AbstractPackage
Objects can be integers or vectors of Integers
Parameters: inValues - - AbstractPackage to check Parameters: namesToCheck - - Hashmap of name (in AbstractPackage) , english name to carry out checks on boolean - true if all values check out ok exception: NoUnitException - |
checkForStringVectors | boolean checkForStringVectors(AbstractPackage inValues, HashMap namesToCheck) throws NoUnitException(Code) | | Checks for Vectors of Strings under Named keys in AbstractPackage
Objects can be Vectors only , containing Strings only
Parameters: inValues - - AbstractPackage to check Parameters: namesToCheck - - HashMap of Names / English names to carry out checks on boolean - true if all values check out ok exception: NoUnitException - |
checkForVectors | boolean checkForVectors(AbstractPackage inValues, HashMap namesToCheck) throws NoUnitException(Code) | | Checks for Vectors under Named keys in AbstractPackage
Objects can be Vectors only
Parameters: inValues - - AbstractPackage to check Parameters: namesToCheck - - HashMap of Names / English Names to carry out checks on boolean - true if all values check out ok exception: NoUnitException - |
checkYN | boolean checkYN(String name, String inCheckString) throws NoUnitException(Code) | | Checks that String is either yes (Y) or no (N)
Parameters: name - of String being checked (for use in error message) Parameters: inCheckString - - String to check boolean exception: NoUnitException - |
|
|