OpenConcerto

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

svn://code.openconcerto.org/openconcerto

Rev

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

Rev 73 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.sql.element;
14
 package org.openconcerto.sql.element;
15
 
15
 
-
 
16
import org.openconcerto.sql.Configuration;
16
import org.openconcerto.sql.model.SQLTable;
17
import org.openconcerto.sql.model.SQLTable;
17
 
18
 
18
/**
19
/**
19
 * An element which is shared and never on screen.
20
 * An element which is shared and never on screen.
20
 * 
21
 * 
Line 24... Line 25...
24
 
25
 
25
    public SharedSQLElement(String tableName) {
26
    public SharedSQLElement(String tableName) {
26
        super(tableName);
27
        super(tableName);
27
    }
28
    }
28
 
29
 
-
 
30
    public SharedSQLElement(final Configuration conf, String tableName, final String code) {
-
 
31
        super(conf, tableName, null, code);
-
 
32
    }
-
 
33
 
29
    public SharedSQLElement(SQLTable table) {
34
    public SharedSQLElement(SQLTable table) {
-
 
35
        this(table, null);
-
 
36
    }
-
 
37
 
-
 
38
    public SharedSQLElement(final SQLTable table, final String code) {
30
        super(table);
39
        super(table, null, code);
31
    }
40
    }
32
 
41
 
33
    @Override
42
    @Override
34
    public final boolean isShared() {
43
    public final boolean isShared() {
35
        return true;
44
        return true;