#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
| Property | Type | Description |
src | BaseDO<*> | Source entity being copied from |
dest | BaseDO<*> | Destination entity being copied to |
propertyName | String | Name of the property |
property | KMutableProperty1<*, *> | Kotlin reflection property reference |
srcPropertyValue | Any? | Value in source object |
destPropertyValue | Any? | Value in destination object |
entriesHistorizable | Boolean? | Whether collection entries have history (set by CollectionHandler) |
propertyTypeClass | Class<*> | 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...