public boolean getBoolValue(int index, String commentIfFail)
throws RulesetException {
if (!isStringValue(index)) {
throw new InvalidFieldValueException(this, index, "Boolean", commentIfFail);
} else {
if (isBoolValue(index)) {
String stringValue = getStringValue(index);
return Boolean.valueOf(stringValue).booleanValue();
} else {
throw new InvalidFieldValueException(this, index, "Boolean", commentIfFail);
}
}
}