Annotation Type IntegerDefault
Specifies the default value as an integer.
This annotation is made to be used with int or Integer and not other numeric types. It is only
supported by the integer liaison. Its presence will also override the value of the default method, if it exists.
-
Required Element Summary
Required Elements
-
Element Details
-
value
int valueThe integer value to provide as a default- Returns:
- the integer value
-
ifMissing
int ifMissingThe int value to provide as an "if missing" default. SeeDefaultValues.ifMissing()for considerations.- Returns:
- the int value if missing
-