Package uk.co.jemos.podam.common
Annotation Type PodamCharValue
-
@Documented @PodamAnnotation @Target({FIELD,PARAMETER}) @Retention(RUNTIME) public @interface PodamCharValue
Annotation used to customise min and max values of a char type attribute or constructor parameter.- Author:
- mtedone
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description charcharValueA precise char value to assign to the annotated attribute.StringcommentIt allows clients to make commentscharmaxValueThe minimum value for the annotated fieldcharminValueThe minimum value for the annotated field
-
-
-
-
comment
String comment
It allows clients to make comments- Returns:
- comment value
- Default:
- ""
-
-
-
charValue
char charValue
A precise char value to assign to the annotated attribute.If set, it will take precedence over all other annotation attributes (e.g. min/max). It is assumed that if the value of
charValueis the default, the user didn't set it and therefore this value will not take precedence overminValueandmaxValue.This attribute defaults to an empty char.
- Returns:
- A precise char value to assign to the annotated attribute.
- Default:
- ' '
-
-