| Package | Description |
|---|---|
| com.openpojo.validation | |
| com.openpojo.validation.impl | |
| com.openpojo.validation.test.impl | |
| com.openpojo.validation.utils |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<Tester> |
ValidatorBuilder.getTesters() |
| Modifier and Type | Method and Description |
|---|---|
void |
PojoValidator.addTester(Tester tester)
Deprecated.
Add Tester to use for validation.
|
ValidatorBuilder |
ValidatorBuilder.with(Tester... testers) |
| Constructor and Description |
|---|
DefaultValidator(java.util.List<Rule> rules,
java.util.List<Tester> testers) |
| Modifier and Type | Class and Description |
|---|---|
class |
BusinessIdentityTester
This rules ensures that object.equals(Object) and object.hashCode() are dispatching their calls to BusinessIdentity.
|
class |
DefaultValuesNullTester
This Rule ensures that all Fields are initialized to null.
This rule ignores fields that are marked as final or primitive types since neither can be initialized to null. |
class |
GetterTester
Test the getter and ensure it retrieves from the field being tested if and only if it has a getter defined.
|
class |
SetterTester
Test the setter and ensure it sets the field being tested if and only if a Setter method was defined.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
ValidationHelper.runValidation(PojoClass pojoClass,
java.util.List<Rule> rules,
java.util.List<Tester> testers) |
Copyright © 2010-2015. All Rights Reserved.