1
如何使用驗證器(JSR303)API驗證下面的類?這應該使用Hibernate Validator API完成。複雜的bean驗證
假設TesterBatters
類本身有一些驗證。我如何驗證這些?
public class Example {
private String jseId;
private String jseType;
private String jseName;
private Double jsePpu;
private TesterBatters jseBatters;
private List<TesterToppin> jseTopping;
public String getTesterId() {
return jseId;
}
}