Skip to content

chore: [ANDROSDK-2338] migrate batch 19 domain models to Kotlin#2654

Merged
taridepaco merged 4 commits into
developfrom
ANDROSDK-2338
Jul 1, 2026
Merged

chore: [ANDROSDK-2338] migrate batch 19 domain models to Kotlin#2654
taridepaco merged 4 commits into
developfrom
ANDROSDK-2338

Conversation

@taridepaco

@taridepaco taridepaco commented Jul 1, 2026

Copy link
Copy Markdown
Collaborator

Migrates batch 19 of the Java AutoValue domain models to Kotlin data classes using the @ModelBuilder annotation. This covers the datastore models (DataStoreEntry, KeyValuePair), the tracked entity ownership models (ProgramOwner, ProgramTempOwner) and ValueTypeDeviceRendering. Field nullability is preserved and each class keeps its Java-compatible accessor methods, builder() factory and toBuilder() so existing call sites remain unaffected.

The only caller adjustment is in ProgramTempOwnerDB, where the now non-null created/validUntil setters are fed via toJavaDateNonNull() instead of toJavaDate(), matching the existing convention for non-null date columns.

Related task: ANDROSDK-2338

@sonarqubecloud

sonarqubecloud Bot commented Jul 1, 2026

Copy link
Copy Markdown

@taridepaco taridepaco merged commit 104b248 into develop Jul 1, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants