@Documented @Constraint(validatedBy=BankCountryValidator.class) @Target(value={TYPE,ANNOTATION_TYPE}) @Retention(value=RUNTIME) public @interface BankCountry
fieldCountryCode)fieldIban)fieldBic)null elements are considered valid.allowLowerCaseCountryCode is set to true, lower case country codes are accepted.| Modifier and Type | Optional Element and Description |
|---|---|
boolean |
allowLowerCaseCountryCode
are lower case country codes allowed (true/false).
|
String |
fieldBic
field name of the bic field.
|
String |
fieldCountryCode
field name of the country code field.
|
String |
fieldIban
field name of the iban field.
|
Class<?>[] |
groups
groups to use.
|
String |
message
localized message.
|
Class<? extends javax.validation.Payload>[] |
payload
payload whatever.
|
public abstract String message
public abstract Class<?>[] groups
public abstract Class<? extends javax.validation.Payload>[] payload
public abstract String fieldCountryCode
public abstract boolean allowLowerCaseCountryCode
public abstract String fieldIban
public abstract String fieldBic
Copyright © 2015–2016. All rights reserved.