Package org.mapfish.print.parser
Annotation Type Requires
-
@Target(FIELD) @Retention(RUNTIME) public @interface Requires
Indicates that if one field in a value/param object, then one or more other attributes are required.Note: If the field with the
Requires
annotation is NOT in the json then the required are not required as long as they have theHasDefaultValue
annotation.
-
-
Required Element Summary
Required Elements Modifier and Type Required Element Description java.lang.String[]
value
The names of the required fields if this field is present.
-