Annotation Interface CometReference


@Documented @Retention(RUNTIME) @Target(FIELD) public @interface CometReference

Annotation to declare references and dependencies to other configuration items.

  • Element Details

    • targetClass

      Class<? extends CometEntity> targetClass

      Class of the referenced item

      Returns:
      class of the referenced item
    • restriction

      Restrictions for this reference.

      Returns:
      restrictions for this reference
    • idFieldName

      String idFieldName

      Name of the referencing field (i.e. the "foreign key" column)

      Returns:
      name of the referencing field
      Default:
      ""