Annotation Interface AlfSingleAssoc


@Retention(RUNTIME) @Target(METHOD) public @interface AlfSingleAssoc

AlfSingleAssoc annotation is used to mark methods that represent single associations in the repository.

This annotation provides metadata about the association, such as whether it's cacheable, whether it's a child association, and whether it represents an entity.

Version:
1.0
Author:
matthieu
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Indicates whether this association is cacheable.
    boolean
    Indicates whether this association is a child association.
    boolean
    Indicates whether this association represents an entity.
  • Element Details

    • isCacheable

      boolean isCacheable
      Indicates whether this association is cacheable.
      Returns:
      true if the association is cacheable, false otherwise
      Default:
      false
    • isChildAssoc

      boolean isChildAssoc
      Indicates whether this association is a child association.
      Returns:
      true if the association is a child association, false otherwise
      Default:
      false
    • isEntity

      boolean isEntity
      Indicates whether this association represents an entity.
      Returns:
      true if the association represents an entity, false otherwise
      Default:
      false