Package info.ejava.examples.db.validation.contacts.dto
package info.ejava.examples.db.validation.contacts.dto
-
ClassDescriptionThis is an example of a cross-parameter constraint.This validator verifies the condition where either firstName or lastName is supplied as the members of a method call.A person is required to have either a first or last name.This validator will return true if either the first or lastName of the person DTO is non-null.