|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |
public @interface MapValue
Annotation describing the object type and element name of a map value.
XmlElementMap
Required Element Summary | |
---|---|
String |
name
The name of the element this annotation describes. |
Optional Element Summary | |
---|---|
String[] |
constraints
The constraints to validate. |
Class<? extends SimpleTypeConverter> |
converterType
Specifies the converter type to be used for the xml element which must have a simple data type (no children, no data holding attributes). |
String |
dataTypeName
The name of the data type this MapValue describes. |
String[] |
format
The format to be used to construct a SimpleTypeConverter for the xml element which must have
a simple data type (no children, no data holding attributes). |
Class<?> |
objectType
The type of the object this MapValue describes. |
TextMode |
textMode
The text mode. |
Class<? extends Validator> |
validatorType
Specifies the validator type to be used. |
Element Detail |
---|
public abstract String name
public abstract String dataTypeName
MapValue
describes. If not set, it must be determinable from
the given object type or from the generic parameter argument of the annotated field.
It should be explicitly set if the type mapping should not be created from the annotations given in the
class objectType
. This is useful when mixing explicit type mapping creation with annotation
based type mapping creation.
public abstract Class<?> objectType
MapValue
describes. From this the data type must be determinable
if it is not explicity given. If the object type is not set or determinable from the generic parameter
argument of the annotated field, the data type name must be given explicitly.
The object type will be ignored if the data type name is given explicitly.
public abstract String[] format
SimpleTypeConverter
for the xml element which must have
a simple data type (no children, no data holding attributes). The SimpleTypeConverter
class
will be determined using the type of the java field with this annotation.
public abstract TextMode textMode
public abstract Class<? extends SimpleTypeConverter> converterType
public abstract Class<? extends Validator> validatorType
public abstract String[] constraints
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT |