IHKCommentObject.javaplugins/org.projectforge.plugins.ihk/src/main/java/org/projectforge/plugins/ihk/IHKCommentObject.java Path: plugins/...ihk/src/main/java/.../IHKCommentObject.java · Lines: 70 · Type: Java POJO — JSON deserialization model 70 lines · 31 code · 25 comments · 14 blank
Configuration DTO for the IHK plugin. Plain Java bean with three fields, no annotations — used to deserialize the JSON stored in the trainee's address book comment field (see README). Deserialized by
IHKFormusingJsonUtils.fromJson().Fields
ausbildungsbeginn(String) — apprenticeship start date as ISO string (yyyy-MM-dd). Used to calculate current training year:Period.between(start, now).getYears()ausbildungsjahr(int) — manual override for training year.-1means auto-calculate. Used when the trainee's program deviates from standard (verkürzen / überspringen)teamname(String) — team/department name, appears in the exported Excel headerDesign
Simple JavaBean with two constructors (default + all-args) and getters/setters. No JPA annotations — this is not a persistent entity. The JSON is stored as a raw string in the
AddressDO.commentdatabase column and parsed at runtime. Created by three interns in May 2020 — the simplicity reflects its origin as an internship project.Usage chain
AddressDO.comment→JsonUtils.fromJson(json, IHKCommentObject.class)→IHKExporteruses fields to filter timesheets and populate Excel headers.