com.ibm.pdq.annotation
Annotation Type Required
@Target(value={METHOD,FIELD}) @Retention(value=RUNTIME) public @interface RequiredIndicates that the annotated property must contain a non-null value when the property is used as input for a DAO or Inline style method invocation.
When reading and assigning the method input parameters for a DAO or Inline styles, pureQuery will check the input value for any properties that are annotated with the Required annotation. If a null value is encountered, and exception is thrown.
This annotation can be used on fields and accessor methods for properties when the fields and methods are public.
pureQuery ignores the @Column
annotation everywhere else.
See the pureQuery Runtime documentation for a more complete description.