[bv-dev] Ordered Validation (practically)
Cemo
cemalettin.koc at gmail.com
Thu Jan 5 07:14:30 EST 2012
What about this?
@ConstraintSequence({
@NotEmpty(),
@IsValidBinCodeNumber(),
@IsCardBannedNumber(),
@IsValidCardNumber()
})
private String creditCard;
Thanks
On 5 January 2012 13:56, Cemo <cemalettin.koc at gmail.com> wrote:
>
> @NotEmpty()
> @IsValidBinCodeNumber()
> @IsCardBannedNumber()
> @IsValidCardNumber()
>
> *@ConstraintSequence(value={NotEmpty.class,* IsValidBinCodeNumber *.class,IsCardBannedNumber.class, IsValidCardNumber.class},
> shortCirtcuit=true)*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/beanvalidation-dev/attachments/20120105/9b457a4b/attachment.html
More information about the beanvalidation-dev
mailing list