Annotation Type Required
-
@Retention(RUNTIME) @Target(FIELD) public @interface Required
An annotation to indicate whether a given field is optional, recommended, or mandatory. Without that annotation, a field is assumed to beRequirementLevel.OPTIONAL. With that annotation, the field isRequirementLevel.MANDATORY, unless the optionalisRecommendedparameter is set totrue, in which case the field isRequirementLevel.RECOMMENDED.
-
-
Optional Element Summary
Optional Elements Modifier and Type Optional Element Description booleanisRecommended
-