code: @Override
      public ValidationResult validate(PMContext ctx) {
          final ValidationResult res = new ValidationResult();
          final String fieldvalue = (String) ctx.getFieldValue();
          res.setSuccessful(true);
          if (!isName(fieldvalue)) {
              res.setSuccessful(false);
              res.getMessages().add(MessageFactory.error(ctx.getEntity(), ctx.getField(), get("msg", "")));
          }
          return res;
      }
docs: The validate method