{"height":"190","width":"100%","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkaiseh.hatenadiary.org%2Fentry%2F20080326%2F1206534426\" title=\" Bean Validation Early Draft Preview - kaiseh\u306e\u30d6\u30ed\u30b0\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","image_url":null,"version":"1.0","categories":["Java"],"author_name":"kaiseh","description":"JSR 303\u306eBean Validation\u306bEarly Draft Preview\u304c\u51fa\u305f\u3068\u306e\u3053\u3068\u3067\u3001\u65e9\u901f\u76ee\u3092\u901a\u3057\u3066\u307f\u307e\u3057\u305f\u3002\u500b\u4eba\u7684\u306b\u9762\u767d\u3044\u3068\u601d\u3063\u305f\u6a5f\u80fd\u3092\u6319\u3052\u3066\u3044\u304d\u307e\u3059\u3002 Multi-valued constraints \u4ee5\u4e0b\u306e\u4f8b\u306e\u3088\u3046\u306b\u3001\u540c\u4e00\u7a2e\u985e\u306e\u30a2\u30ce\u30c6\u30fc\u30b7\u30e7\u30f3\u3092\u914d\u5217\u3067\u8907\u6570\u6307\u5b9a\u3067\u304d\u308b\u3088\u3046\u3067\u3059\u3002 public class Bean { @Patterns({ @Pattern(regex = \"^[0-9-]+$\", message = \"numbers only\"), @Pattern(regex = \"^...-....$\", message = \"must match XXX-XXXX\u2026","provider_name":"Hatena Blog","blog_url":"https://kaiseh.hatenadiary.org/","url":"https://kaiseh.hatenadiary.org/entry/20080326/1206534426","type":"rich","blog_title":"kaiseh\u306e\u30d6\u30ed\u30b0","published":"2008-03-26 21:27:06","provider_url":"https://hatena.blog","title":" Bean Validation Early Draft Preview","author_url":"https://blog.hatena.ne.jp/kaiseh/"}