Modifier and Type | Required Element and Description |
---|---|
MapKey |
key
A
MapKey annotation describing the map keys. |
MapValue[] |
values
An array of
MapValue annotations describing the map values. |
Modifier and Type | Optional Element and Description |
---|---|
String[] |
constraints
The constraints to validate.
|
boolean |
implicit
True, if there is no embracing element around the map entries; false otherwise.
|
String |
name
The name of the element this annotation describes.
|
int |
pos
The position of the xml element with the following semantic:
|
boolean |
required
True, if a value is required; false otherwise.
|
Class<? extends Validator> |
validatorType
Specifies the validator type to be used.
|
public abstract MapValue[] values
MapValue
annotations describing the map values.public abstract String name
public abstract int pos
If the position of a element A is less than the position of a element B, than element A comes (not
necessarily directly) before element B.
All elements with the default position value (-1) will come after all elements with explicitly given
positions.
public abstract boolean implicit
public abstract boolean required
public abstract Class<? extends Validator> validatorType
public abstract String[] constraints
Copyright © 2014. All rights reserved.