Annotation 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 ElementsModifier and TypeOptional ElementDescriptionbooleanIndicates whether this association is cacheable.booleanIndicates whether this association is a child association.booleanIndicates whether this association represents an entity.
-
Element Details
-
isCacheable
boolean isCacheableIndicates whether this association is cacheable.- Returns:
- true if the association is cacheable, false otherwise
- Default:
- false
-
isChildAssoc
boolean isChildAssocIndicates whether this association is a child association.- Returns:
- true if the association is a child association, false otherwise
- Default:
- false
-
isEntity
boolean isEntityIndicates whether this association represents an entity.- Returns:
- true if the association represents an entity, false otherwise
- Default:
- false
-