Download List

项目描述

OVal is a pragmatic and extensible validation framework for any kind of Java objects (not only JavaBeans). Constraints can be configured with annotations, POJOs, or XML. Custom constraints can be expressed in pure Java or by using scripting languages such as JavaScript, Groovy, or BeanShell. Besides simple object validation, OVal provides certain Programming by Contract features. They can easily be enabled by using the provided AspectJ aspects.

系统要求

System requirement is not defined
Information regarding Project Releases and Project Resources. Note that the information here is a quote from Freecode.com page, and the downloads themselves may not be hosted on OSDN.

2011-10-04 07:18
1.80

此版本添加了支持声明嵌套的属性,通过新的目标属性的约束约束注释。它将添加缓存的已编译的 OGNL 表达式和编译 MVEL 表达式。
This release adds support for declaring constraints for nested properties via a new target attribute on constraint annotations. It adds caching of compiled OGNL expressions and compiled MVEL expressions.

2010-10-14 07:11
1.60

此版本增加了Validator.reportConstraintViolation,使支票实现,以产生一个以上的约束冲突。它adds@Constraint.List注释,可容纳同一类型的多个约束的注解。它增加了@电子邮件(allowPersonalName =真/假)。它增加了添加/删除CheckInitializationListener方法AnnotationsConfigurer和XMLConfigurer。它增加了BeanInjectingCheckInitializationListener,允许将Spring的依赖注入到检查情况。它增加了方法的参数指定为在接口级约束支持:@卫队(inspectInterfaces =真)。
This release adds Validator.reportConstraintViolation, allowing check implementations to generate more than one constraint violation. It adds @Constraint.List annotations that can hold multiple constraint annotations of the same type. It adds @Email(allowPersonalName=true/false). It adds add/remove CheckInitializationListener methods to AnnotationsConfigurer and XMLConfigurer. It adds BeanInjectingCheckInitializationListener, allowing Spring dependencies to be injected into Check instances. It adds support for constraints specified for method parameters at interface level: @Guard(inspectInterfaces=true).

2010-04-01 06:54
1.50

JPAAnnotationsConfigurer现在还解释注释getter方法。 @大小现在检查的值的String表示的长度,如果该值不是一张地图,一个列表或数组。此版本增加了@ AssertNull和@位数的限制。它增加了BeanValidationAnnotationsConfigurer,允许验证JSR303内置约束的注释。它实现[椭圆臭虫- 2907399]',并增加了MessageValueFormatter和Validator.setMessageValueFormatter()。
JPAAnnotationsConfigurer now also interprets annotated getter methods. @Size now checks the length of the value's String representation if the value is not a map, a list, or an array. This release adds @AssertNull and @Digits constraints. It adds BeanValidationAnnotationsConfigurer, which allows validation of JSR303 built-in constraint annotations.
It implements [oval-Bugs-2907399]´and adds MessageValueFormatter and Validator.setMessageValueFormatter().

2009-09-28 03:49
1.40

此版本增加了对支持有条件的约束通过激活时=“”属性。它增加了一个宽容属性@ @过去和未来。它增加了@ NotMatchPattern和ConstraintViolation.getCheckDeclaringContext()。它增加了一个appliesTo()属性的限制,以控制是否和如何验证应适用于数组,地图的儿童,和集合。它修正错误2836116,2821805和2799870。
This release adds support for conditional constraint activation via the when="" attribute. It adds a tolerance attribute to @Past and @Future. It adds @NotMatchPattern and ConstraintViolation.getCheckDeclaringContext(). It adds an appliesTo() attribute to constraints to control if and how validation should be applied to children of arrays, maps, and collections. It fixes bugs 2836116, 2821805, and 2799870.

2009-05-10 22:59
1.32

此版本增加了一个@电子邮件约束。它增加了一个约束冲突的消息,巴西葡萄牙语翻译。它介绍了验证实施更嘲笑支持的接口。它修复了几个小问题。
This release adds an @Email constraint. It adds a Brazilian Portuguese translation of the constraint violation messages. It introduces an interface implemented by Validator for supporting easier mocking.
It fixes several minor issues.

Project Resources