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.

2008-08-11 04:06
1.30

阿约束检查排除功能,可用于精细用于失活的约束度增加了。 @ MatchPattern现在可以匹配多种模式。约束配置的XSD追加了一个DTD的替代品。 ConstraintViolation现在提供了有关违反约束的更多细节(检查名,messageVariables和messageTemplate)。支持已添加了对使用Spring AOP,使由Spring管理的bean的合同方案。探头的模式功能的使用已大大简化。
标签: Major feature enhancements
A constraint check exclusion feature that can be used for fine-grained deactivation of constraints has been added. @MatchPattern can now match against multiple patterns. Constraint configuration XSD has been added as a replacement for the DTD. ConstraintViolation now provides more details about the violated constraint (checkName, messageVariables, and messageTemplate). Support has been added for using Spring AOP to enable programming by contract for Spring managed beans. Usage of the probe mode feature has been greatly simplified.

2007-11-02 23:53
1.10

五个新内置的限制:@ AssertURL,@ InstanceOfAny,@的MemberOf,@ NotEqual和@ NotMemberOf。错误代码和严重程度,现在可以指定约束。支持对象级别的限制(复合约束)。 Ruby的支持,作为约束表达式语言。违反约束邮件已被翻译成中文,荷兰语,匈牙利语,意大利语,挪威语,葡萄牙语,罗马尼亚语,俄语,西班牙语,瑞典语和土耳其语。支持不同的日志记录框架/外墙,包括JDK日志记录,Log4J的,和commons记录至今。
标签: Minor feature enhancements
Five new built-in constraints: @AssertURL, @InstanceOfAny, @MemberOf, @NotEqual, and @NotMemberOf. errorCode and severity can now be specified for constraints. Support for object-level constraints (compound constraints). Support for Ruby as a constraints expression language. Constraints violation messages have been translated into Chinese, Dutch, Hungarian, Italian, Norwegian, Portuguese, Romanian, Russian, Spanish, Swedish, and Turkish. Support for different logging frameworks/facades, including JDK logging, Log4J, and commons logging so far.

2007-07-22 22:52
1.0

在@ NotBlank已添加的约束。支持已被添加了OGNL的和MVEL作为约束表达式语言。
标签: Minor feature enhancements
The constraint @NotBlank has been added. Support has been added for OGNL and MVEL as constraint expression languages.

2007-03-18 21:02
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.

2006-12-11 01:10
0.8

此版本增加了对解释的EJB3 JPA注解的支持。所有的配置类现在序列化的。支持已被添加了ParaNamer的解决方法的参数名称。有各种各样的小幅修正。
标签: Minor feature enhancements
This release adds support for interpreting EJB3 JPA annotations. All configuration classes are now serializable. Support has been added for ParaNamer for method parameter name resolving. There are various minor fixes.

Project Resources