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.

2007-03-18 21:02 Back to release list
0.9

脚本支持(Groovy的,JavaScript中,和BeanShell)。一个类的不变量的自动查询到所有非私有方法的调用。新的制约因素(@ CheckWith,@未来,@ HasSubstring,@最大,@最大长度,@的maxSize,@敏@ MinLength,@ MinSize和@过去)。验证/静态字段和方法防范现在支持。型材的约束的概念已被引入。 Guard.setExceptionTranslator()已被添加,它允许您更改异常的类型是对违反约束抛出。
标签: Major feature enhancements
Scripting Support (Groovy, JavaScript, and BeanShell). An automatic check of class invariants on calls to all non-private methods. New constraints (@CheckWith, @Future, @HasSubstring, @Max, @MaxLength, @MaxSize, @Min, @MinLength, @MinSize, and @Past). Validating/guarding of static fields and methods is now supported. The concept of constraint profiles has been introduced. Guard.setExceptionTranslator() has been added, which allows you to change the type of exception that is thrown on constraint violations.

Project Resources