OpenConcerto

Dépôt officiel du code source de l'ERP OpenConcerto
sonarqube

svn://code.openconcerto.org/openconcerto

Rev

Rev 142 | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 142 Rev 156
Line 11... Line 11...
11
 * When distributing the software, include this License Header Notice in each file.
11
 * When distributing the software, include this License Header Notice in each file.
12
 */
12
 */
13
 
13
 
14
 package org.openconcerto.erp.core.humanresources.payroll.element;
14
 package org.openconcerto.erp.core.humanresources.payroll.element;
15
 
15
 
-
 
16
import org.openconcerto.sql.model.DBRoot;
16
import org.openconcerto.utils.ListMap;
17
import org.openconcerto.utils.ListMap;
17
 
18
 
18
public class CodeCotisationEtablissementSQLElement extends AbstractCodeSQLElement {
19
public class CodeCotisationEtablissementSQLElement extends AbstractCodeSQLElement {
19
 
20
 
20
    public CodeCotisationEtablissementSQLElement() {
21
    public CodeCotisationEtablissementSQLElement(final DBRoot root) {
21
        super("CODE_COTISATION_ETABLISSEMENT", "un code de cotisation établissement", "codes de cotisation établissement");
22
        super(root.getTable("CODE_COTISATION_ETABLISSEMENT"), "un code de cotisation établissement", "codes de cotisation établissement");
22
    }
23
    }
23
 
24
 
24
    @Override
25
    @Override
25
    protected String createCode() {
26
    protected String createCode() {
26
        return createCodeFromPackage() + ".cotisation.etablissement.code";
27
        return createCodeOfPackage() + ".cotisation.etablissement.code";
27
    }
28
    }
28
 
29
 
29
    @Override
30
    @Override
30
    public ListMap<String, String> getShowAs() {
31
    public ListMap<String, String> getShowAs() {
31
        return ListMap.singleton(null, "CODE");
32
        return ListMap.singleton(null, "CODE");