Downloadliste

Projektbeschreibung

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.

Systemanforderungen

Die Systemvoraussetzungen sind nicht definiert
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

Diese Version bietet Unterstützung für das Deklarieren von Einschränkungen für geschachtelte Eigenschaften über neue Target-Attribut für Einschränkung Anmerkungen. Es fügt Zwischenspeichern von kompilierten OGNL Ausdrücken und kompiliert MVEL Ausdrücke.
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

Diese Veröffentlichung fügt Validator.reportConstraintViolation, so überprüfen Implementierungen, mehr als eine Einschränkungsverletzung generieren. Es adds@Constraint.List Anmerkungen, die mehrere Einschränkung Anmerkungen des gleichen Typs aufnehmen kann. Es fügt @ E-Mail (allowPersonalName = true / false). Sie fügt hinzu, "Hinzufügen / Entfernen CheckInitializationListener Methoden AnnotationsConfigurer und XMLConfigurer. Es fügt BeanInjectingCheckInitializationListener, so Spring Abhängigkeiten in Check Instanzen injiziert werden. Es bietet Unterstützung für Einschränkungen für Methodenparameter an der Schnittstelle Ebene angegeben: @ Guard (inspectInterfaces = true).
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 nun auch interpretiert Getter-Methoden annotiert. @ Size prüft nun die Länge des Wertes der String-Darstellung, wenn der Wert ist nicht eine Karte, eine Liste oder ein Array. Diese Veröffentlichung fügt assertNull @ @ Digits und Zwänge. Es fügt BeanValidationAnnotationsConfigurer, die Validierung von JSR303 erlaubt eingebauten Zwang Anmerkungen. Es implementiert [oval-Bugs-2907399] "und fügt MessageValueFormatter und 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

Diese Veröffentlichung fügt Unterstützung für bedingte Einschränkung bei der Aktivierung über das = ""-Attribut. Es fügt eine Toleranz Attribut @ @ Vergangenheit und Zukunft. Sie fügt hinzu, @ NotMatchPattern und ConstraintViolation.getCheckDeclaringContext (). Es fügt ein appliesTo ()-Attribut auf Beschränkungen zu kontrollieren, ob und wie Validierung sollte für Kinder von Arrays, Karten angewendet werden, und Sammlungen. Es behebt Bugs 2836116, 2821805 und 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

Diese Veröffentlichung fügt ein @ Email Einschränkung. Es fügt ein Brasilianisches Portugiesisch Übersetzung der Einschränkungsverletzung hinterlassen. Es stellt eine Schnittstelle für die Unterstützung von Validator leichter Spott umgesetzt. Es behebt einige kleinere Probleme.
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