摘要: 1、接口注释@Target({METHOD, FIELD, ANNOTATION_TYPE, CONSTRUCTOR, PARAMETER})@Retention(RUNTIME)@Documented@Constraint(validatedBy = {IncrementalValidator.c... 阅读全文
posted @ 2015-04-20 14:55 samu 阅读(450) 评论(0) 推荐(0)
摘要: 1、设置接口@Constraint(validatedBy = ChineseIdNumberValidator.class)@Target({ElementType.METHOD, ElementType.FIELD, ElementType.PARAMETER})... 阅读全文
posted @ 2015-04-20 14:52 samu 阅读(934) 评论(0) 推荐(0)
摘要: http://developer.51cto.com/art/201104/253257_1.htmava EE 6核心特征:Bean Validation特性概述(2)2011-04-02 14:33 张冠楠 陈志娴IBM developerWorks字号:T|T数据验证在 Java 分层结构的应... 阅读全文
posted @ 2015-04-20 14:48 samu 阅读(2990) 评论(0) 推荐(0)