Annotation Interface Counter


@Retention(RUNTIME) public @interface Counter
Value generator annotation which creates counters based on 'Counter' table for fields of type 'counter'.
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Name of field is required for supporting multiple counters on same model.
  • Element Details

    • fieldName

      String fieldName
      Name of field is required for supporting multiple counters on same model. Note. If the field name could be received dynamically in CounterGeneration, this could be removed.