Annotation Type CometId


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

    Annotation to declare a field as a Comet Id field.
    Id fields must match one of the following conditions:

    • undefined (not yet defined) IDs must be set to 0 (ZERO)
    • other IDs must denote an unique ID retrieved from the PublishingServer Kernel
    Fields tagged with the CometId Annotation will be calculated, whenever a new configuration is inserted or a configuration is updated.

    • Element Detail

      • targetClass

        java.lang.Class<?> targetClass
        Default:
        java.lang.Object.class
      • referenceBinding

        ReferenceBinding referenceBinding
        Default:
        com.priint.pubserver.comet.config.ReferenceBinding.LOOSE