private boolean getBooleanValue(Object value) {
		if (value instanceof Boolean) {
			return ((Boolean) value).booleanValue();
		}
		else if (value instanceof String) {
			String s = (String) value;

			if ("true".equalsIgnoreCase(s) || "t".equalsIgnoreCase(s)
					|| "1".equals(s)) {
				return true;
			}
			else if ("false".equalsIgnoreCase(s) || "f".equalsIgnoreCase(s)
					|| "0".equals(s)) {
				return false;
			}
		}

		throw new StorageError(StorageError.BAD_PROPERTY_VALUE);
	}