code: public static String[] validateObject(ParaObject content) {
  		if (content == null) {
  			return new String[]{"Object cannot be null."};
  		}
  		LinkedList<String> list = new LinkedList<>();
  		try {
  			for (ConstraintViolation<ParaObject> constraintViolation : getValidator().validate(content)) {
  				String prop = "'".concat(constraintViolation.getPropertyPath().toString()).concat("'");
  				list.add(prop.concat(" ").concat(constraintViolation.getMessage()));
  			}
  		} catch (Exception e) {
  			logger.error(null, e);
  		}
  		return list.toArray(new String[]{});
  	}
docs: Validates objects using Hibernate Validator.
  @param content an object to be validated
  @return a list of error messages or empty if object is valid