Modifier and Type | Optional Element and Description |
---|---|
String[] |
constraints
The constraints to validate.
|
Class<? extends SimpleTypeConverter> |
converterType
Specifies the converter type to be used for the xml attribute.
|
String |
dataTypeName
The name of the data type of the attribute this annotation describes.
|
String[] |
format
The format to be used to construct a
SimpleTypeConverter for the xml attribute. |
SimpleListItem |
listItem
In case of a simple type list this annotation parameter provides details about the list items.
|
String |
name
The name of the xml attribute this annotation describes.
|
boolean |
required
True, if a value is required; false otherwise.
|
Class<? extends Validator> |
validatorType
Specifies the validator type to be used.
|
public abstract String name
public abstract String dataTypeName
It should be explicitly set if the type mapping should not be created from the annotations given in the class of the annotated field. This is useful when mixing explicit type mapping creation with annotation based type mapping creation.
public abstract String[] format
SimpleTypeConverter
for the xml attribute. The
SimpleTypeConverter
class will be determined using the type of the java field with this
annotation.public abstract Class<? extends SimpleTypeConverter> converterType
public abstract SimpleListItem listItem
public abstract boolean required
public abstract Class<? extends Validator> validatorType
public abstract String[] constraints
Copyright © 2014. All rights reserved.