Skip to content
Next Next commit
fix: add missing public Getter
Add public Getter for `updateSets`
Fixes #1630
  • Loading branch information
manticore-projects committed Sep 15, 2022
commit 09c2fb78ed4e67eb392e5558ad511652cd0714e4
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,17 @@
*/

public class InsertConflictAction {
ConflictActionType conflictActionType;

private final ArrayList<UpdateSet> updateSets = new ArrayList<>();
ConflictActionType conflictActionType;
Expression whereExpression;

public InsertConflictAction(ConflictActionType conflictActionType) {
this.conflictActionType = Objects.requireNonNull(conflictActionType, "The Conflict Action Type is mandatory and must not be Null.");
}

public ArrayList<UpdateSet> getUpdateSets() {
return updateSets;
}

public ConflictActionType getConflictActionType() {
return conflictActionType;
}
Expand Down