What about this?
@ConstraintSequence({
@NotEmpty(),
@IsValidBinCodeNumber(),
@IsCardBannedNumber(),
@IsValidCardNumber()
})
private String creditCard;
Thanks
On 5 January 2012 13:56, Cemo <cemalettin.koc(a)gmail.com> wrote:
@NotEmpty()
@IsValidBinCodeNumber()
@IsCardBannedNumber()
@IsValidCardNumber()
*(a)ConstraintSequence(value={NotEmpty.class,* IsValidBinCodeNumber
*.class,IsCardBannedNumber.class, IsValidCardNumber.class},
shortCirtcuit=true)*