#931: EmployeeStatus.kt

projectforge-business/src/main/kotlin/org/projectforge/business/fibu/EmployeeStatus.kt Type: Enum · Purpose: Employment status classification for employees · Path: projectforge-business/src/main/kotlin/org/projectforge/business/fibu/EmployeeStatus.kt 61 lines · 25 code · 30 comments · 6 blank
Implements I18nEnum. Defines 8 employment statuses used as time-dependent attributes on employees. Each enum value has a key (German identifier) and an i18nKey (full i18n path fibu.employee.status.{key}).

Values

Enum ConstantKeyMeaning
FEST_ANGESTELLTERfestAngestellterPermanent employee
BEFRISTET_ANGESTELLTERbefristetAngestellterFixed-term employee
FREELANCERfreelancerFreelancer / independent contractor
AUSHILFEaushilfeTemporary helper / assistant
STUDENTISCHE_HILFSKRAFTstudentischeHilfskraftStudent assistant
STUD_ABSCHLUSSARBEITstudentischeAbschlussarbeitStudent thesis/dissertation
PRAKTIKANTpraktikantIntern
AZUBIazubiApprentice / trainee

Companion object provides safeValueOf(name) (null-safe enum lookup) and findByi18nKey(i18nKey) (reverse lookup by i18n key).

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
ac2dbb269 Migration stuff in progress...
b79a1edca Migration stuff in progress... (all tests of all packages: OK).
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
c526c1bbb I18nEnum, IUserRightId -> Kotlin.
54bd2e890 WIP: vacation mail notifications.
bc0a52bc7 Vacation stuff...
b2657ec3a Vacation list, MagicFilterProcessort supports now I18nEnum values.
7c79f1922 Copyright of source header -> 2020.
af35917ac More code cleanup
2d86a8cd6 PROJECTFORGE-2306 Refactorings for keeping access check at update time
9ebb88522 Initial commit