EN · DE · RU · FR · ES

#795: KontoImpl.java

projectforge-business/src/main/java/org/projectforge/reporting/impl/KontoImpl.java Adapter, projectforge-business/src/main/java/org/projectforge/reporting/impl/KontoImpl.java 63 lines · 27 code · 27 comments · 9 blank

Adapter for KontoDO (G/L Account)

Proxy for KontoDO — the JPA entity representing a general ledger account in the chart of accounts. Implements the Konto reporting interface. At 63 lines, it follows the same Adapter pattern as BuchungssatzImpl.

The class holds a single KontoDO reference and delegates all getters directly: getId(), getNummer() (account number from the chart of accounts), getBezeichnung() (account name/designation), and getDescription(). This is the simplest wrapper in the package — pure delegation with no computation or transformation.

All Impl Classes in the Package

Every class in org.projectforge.reporting.impl follows the same template: DO → Impl implements Interface:

ImplAdaptsSize
KontoImplKontoDO → Konto63 lines
Kost1ImplKost1DO → Kost1~40 lines
Kost2ImplKost2DO → Kost2~40 lines
Kost2ArtImplKost2ArtDO → Kost2Art~40 lines
KundeImplKundeDO → Kunde~40 lines
ProjektImplProjektDO → Projekt~40 lines

Together they form an adapter layer between JPA entities (projectforge-business) and reporting interfaces (projectforge-reporting), avoiding circular module dependencies.

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
4c04cfd65 MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
7c79f1922 Copyright of source header -> 2020.
dd5ca38ac CopyRight of all java file-header updated or created.
9ebb88522 Initial commit
EN · DE · RU · FR · ES

#795: KontoImpl.java

Adapter, projectforge-business/src/main/java/org/projectforge/reporting/impl/KontoImpl.java

Adapter for KontoDO (G/L Account)

Proxy for KontoDO — the JPA entity representing a general ledger account in the chart of accounts. Implements the Konto reporting interface. At 63 lines, it follows the same Adapter pattern as BuchungssatzImpl.

The class holds a single KontoDO reference and delegates all getters directly: getId(), getNummer() (account number from the chart of accounts), getBezeichnung() (account name/designation), and getDescription(). This is the simplest wrapper in the package — pure delegation with no computation or transformation.

All Impl Classes in the Package

Every class in org.projectforge.reporting.impl follows the same template: DO → Impl implements Interface:

ImplAdaptsSize
KontoImplKontoDO → Konto63 lines
Kost1ImplKost1DO → Kost1~40 lines
Kost2ImplKost2DO → Kost2~40 lines
Kost2ArtImplKost2ArtDO → Kost2Art~40 lines
KundeImplKundeDO → Kunde~40 lines
ProjektImplProjektDO → Projekt~40 lines

Together they form an adapter layer between JPA entities (projectforge-business) and reporting interfaces (projectforge-reporting), avoiding circular module dependencies.

Git History

868d6abb7 2025 -> 2026
63081666f Source file headers: 2024-> 2025.
4c04cfd65 MAJOR-CHANGE! Migration of integer id's to Long id's (including fk's etc.)
b6092df09 Copyright 2023 -> 2024
ab45d51fa Copyright 2001-2022 -> 2001-2023.
5f7ef41b8 Copyright 2021 -> 2022
ceb63e8a1 Source code header: (C) 2001-2021.
7c79f1922 Copyright of source header -> 2020.
dd5ca38ac CopyRight of all java file-header updated or created.
9ebb88522 Initial commit