#1272: PropertyContext.kt

projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/candh/PropertyContext.kt Property Snapshot (Data Class), projectforge-business/src/main/kotlin/org/projectforge/framework/persistence/candh/PropertyContext.kt 61 lines · 19 code · 37 comments · 5 blank
Data class capturing the state of a single property during copy/history processing. Holds the source and destination objects, property metadata (name, KMutableProperty1), and current values for comparison. Also tracks whether collection entries are historizable and provides the property's type class for history attribute creation.

Properties

PropertyTypeDescription
srcBaseDO<*>Source entity being copied from
destBaseDO<*>Destination entity being copied to
propertyNameStringName of the property
propertyKMutableProperty1<*, *>Kotlin reflection property reference
srcPropertyValueAny?Value in source object
destPropertyValueAny?Value in destination object
entriesHistorizableBoolean?Whether collection entries have history (set by CollectionHandler)
propertyTypeClassClass<*>Computed: type class from collection entries

Git History

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