Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
InsertOrUpdateStatement |
|
| 1.0;1 |
1 | package liquibase.statement.core; | |
2 | ||
3 | /** | |
4 | * Created by IntelliJ IDEA. User: bassettt Date: Dec 1, 2009 Time: 11:01:37 PM To change this template use File | | |
5 | * Settings | File Templates. | |
6 | */ | |
7 | public class InsertOrUpdateStatement extends InsertStatement { | |
8 | private String primaryKey; | |
9 | ||
10 | public InsertOrUpdateStatement(String schemaName, String tableName, String primaryKey) { | |
11 | 18 | super(schemaName, tableName); |
12 | 18 | this.primaryKey = primaryKey; |
13 | 18 | } |
14 | ||
15 | public String getPrimaryKey() { | |
16 | 9 | return primaryKey; |
17 | } | |
18 | } |