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;
-
 
17
 
16
public class AyantDroitTypeSQLElement extends AbstractCodeSQLElement {
18
public class AyantDroitTypeSQLElement extends AbstractCodeSQLElement {
17
 
19
 
18
    public AyantDroitTypeSQLElement() {
20
    public AyantDroitTypeSQLElement(final DBRoot root) {
19
        super("AYANT_DROIT_TYPE", "un type d'ayant droit", "types d'ayant droit");
21
        super(root.getTable("AYANT_DROIT_TYPE"), "un type d'ayant droit", "types d'ayant droit");
20
    }
22
    }
21
 
23
 
22
    @Override
24
    @Override
23
    protected String createCode() {
25
    protected String createCode() {
24
        return createCodeFromPackage() + ".type.ayantdroit";
26
        return createCodeOfPackage() + ".type.ayantdroit";
25
    }
27
    }
26
}
28
}