public void validate(final Object paramValue, final Object value) throws IllegalArgumentException,
			IllegalStateException {
		if (paramValue instanceof String) {
			isEqualToString(paramValue, value);
		} else if (paramValue instanceof Integer) {
			isEqualToInteger(paramValue, value);
		} else if (paramValue instanceof Boolean) {
			isEqualToBoolean(paramValue, value);
		} else if (paramValue instanceof Date) {
			isEqualToDate(paramValue, value);
		} else {
			throw new IllegalArgumentException();
		}
	}