public void validateSave() { webdsl.generated.domain.ValidationExceptionMultiple mex = this.validateSave_(); java.util.List<webdsl.generated.domain.ValidationException> ex = mex.getExceptions(); java.util.List<utils.ValidationException> exceptions = new java.util.LinkedList<utils.ValidationException>(); for (webdsl.generated.domain.ValidationException v : ex) { exceptions.add(new utils.ValidationException(null, v.getMessage())); } if (exceptions.size() > 0) { throw new utils.MultipleValidationExceptions(exceptions); } }
public void validateName_internal_(webdsl.generated.domain.ValidationExceptionMultiple v2) { if (!(org.webdsl.tools.Utils.equal(this.getName().length(), null) || org.webdsl.tools.Utils.equal(255, null)) && this.getName().length() > 255) { v2.addToExceptions(webdsl.generated.functions.ent_Customer_objCr1_.ent_Customer_objCr1_()); } else { } }
public void validateBio_internal_(webdsl.generated.domain.ValidationExceptionMultiple v12) { if (!(org.webdsl.tools.Utils.equal(this.getBio().length(), null) || org.webdsl.tools.Utils.equal(1000000, null)) && this.getBio().length() > 1000000) { v12.addToExceptions(webdsl.generated.functions.ent_Customer_objCr10_.ent_Customer_objCr10_()); } else { } }