* org.springframework.validation.Errors)
*/
@Override
public void validate(Object clazz, Errors e) {
UserDefinable userDefinable = (UserDefinable) clazz;
UserDefinedRecord udr = userDefinable.getUdf();
if (udr != null) {
List<UserDefinedField> udfList = UserDefinedRecord.getUdf(udr
.getEntityClass());
if(udfList != null)
for (UserDefinedField udf : udfList) {
if (udf.getRequired() != null && udf.getRequired()) {
ValidationUtils.rejectIfEmpty(e, "udf." + udf.getUserField(),