#1267: CandHIgnore.kt

projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/candh/CandHIgnore.kt Annotation (Copy-and-History Ignore), projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/candh/CandHIgnore.kt 31 lines · 4 code · 25 comments · 2 blank
Annotation to exclude a property from both copy and history processing in the CandH framework. Applies to Kotlin fields and properties at RUNTIME retention. Checked in CandHMaster.accept() before any handler processes the property.

Usage

@CandHIgnore
var transientCalculation: BigDecimal? = null

Annotate any field/property on a DO class to prevent CandH from copying its value or generating history entries for it.

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
b79a1edca Migration stuff in progress... (all tests of all packages: OK).