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