public class TestBean{ @Pattern(regexp = "A|B") //does not work private ... Is there any way to validate enum fields without writing custom validator?
確定! 回上一頁