@Documented @Target(value={FIELD,PARAMETER}) @Retention(value=RUNTIME) public @interface PodamLongValue
Modifier and Type | Optional Element and Description |
---|---|
String |
comment
It allows clients to make comments
|
long |
maxValue
The minimum value for the annotated field
|
long |
minValue
The minimum value for the annotated field
|
String |
numValue
It returns the precise value to be assigned to the annotated attribute.
|
public abstract long minValue
public abstract long maxValue
public abstract String comment
public abstract String numValue
This attribute defaults to an empty string.
Please note that the format should be String to allow for null values for
this annotation attribute. If we set the type to the primitive for this
annotation, then to allow for null
values we should have set
something arbitrary as default 0
. If set, the value must be
convertible to the type of this annotation or a
NumberFormatException
will be thrown.
If set, it will take precedence over all other annotation attributes (e.g. min/max)
Copyright © 2013. All rights reserved.