@Documented @Constraint(validatedBy=ChoiceValidator.class) @Target(value=TYPE) @Retention(value=RUNTIME) public @interface Choice
Modifier and Type | Required Element and Description |
---|---|
ChoiceGroup[] |
value |
public abstract ChoiceGroup[] value
public abstract Class<?>[] groups
public abstract String message
public abstract Class<? extends javax.validation.Payload>[] payload
Copyright © 2017 ECG. All rights reserved.