1 | |
package liquibase.statement.core; |
2 | |
|
3 | |
import liquibase.statement.AbstractSqlStatement; |
4 | |
|
5 | |
public class AddPrimaryKeyStatement extends AbstractSqlStatement { |
6 | |
|
7 | |
private String schemaName; |
8 | |
private String tableName; |
9 | |
private String tablespace; |
10 | |
private String columnNames; |
11 | |
private String constraintName; |
12 | |
|
13 | 105 | public AddPrimaryKeyStatement(String schemaName, String tableName, String columnNames, String constraintName) { |
14 | 105 | this.schemaName = schemaName; |
15 | 105 | this.tableName = tableName; |
16 | 105 | this.columnNames = columnNames; |
17 | 105 | this.constraintName = constraintName; |
18 | 105 | } |
19 | |
|
20 | |
public String getSchemaName() { |
21 | 0 | return schemaName; |
22 | |
} |
23 | |
|
24 | |
public String getTableName() { |
25 | 29 | return tableName; |
26 | |
} |
27 | |
|
28 | |
public String getTablespace() { |
29 | 0 | return tablespace; |
30 | |
} |
31 | |
|
32 | |
public AddPrimaryKeyStatement setTablespace(String tablespace) { |
33 | 104 | this.tablespace = tablespace; |
34 | 104 | return this; |
35 | |
} |
36 | |
|
37 | |
public String getColumnNames() { |
38 | 29 | return columnNames; |
39 | |
} |
40 | |
|
41 | |
public String getConstraintName() { |
42 | 0 | return constraintName; |
43 | |
} |
44 | |
} |