Annotation Type CometReference


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

    Annotation to declare references and dependencies to other configuration items.

    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.String idFieldName
      Name of the referencing field (i.e.
    • Element Detail

      • targetClass

        java.lang.Class<? extends CometEntity> targetClass

        Class of the referenced item

        Returns:
        class of the referenced item
      • idFieldName

        java.lang.String idFieldName

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

        Returns:
        name of the referencing field
        Default:
        ""