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