| Modifier and Type | Required Element and Description | 
|---|---|
ValidateReference.ReferenceType | 
referenceType
Specifies the type of Reference that the element refers, for example Server or Cluster. 
 | 
| Modifier and Type | Optional Element and Description | 
|---|---|
boolean | 
allowNull
If set to true then a null value will be allowed for the field specified in the field attribute. 
 | 
int | 
max
The maximum length of the text with -1 meaning that there is no maximum 
 | 
int | 
min
The minimum length of the text defaulting to 0. 
 | 
String | 
pattern
A regular expression that is to be used to determine the validity of the field. 
 | 
boolean | 
unique
If set to true and a List of elements has been provided, then the list will be checked for uniqueness 
 | 
Class<?> | 
validatorClass
The Class that implements the strategy for validation of this annotation. 
 | 
public abstract ValidateReference.ReferenceType referenceType
public abstract String pattern
public abstract int min
public abstract int max
public abstract boolean allowNull
public abstract boolean unique
public abstract Class<?> validatorClass