Skip to content

Commit 0147300

Browse files
committed
Update setters
1 parent d715f53 commit 0147300

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

src/org/labkey/remoteapi/query/SaveRowsApiCommand.java

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -209,19 +209,21 @@ public SaveRowsCommand.AuditBehavior getAuditBehavior()
209209
return _auditBehavior;
210210
}
211211

212-
public void setAuditBehavior(SaveRowsCommand.AuditBehavior auditBehavior)
212+
public Command setAuditBehavior(SaveRowsCommand.AuditBehavior auditBehavior)
213213
{
214214
_auditBehavior = auditBehavior;
215+
return this;
215216
}
216217

217218
public String getAuditUserComment()
218219
{
219220
return _auditUserComment;
220221
}
221222

222-
public void setAuditUserComment(String auditUserComment)
223+
public Command setAuditUserComment(String auditUserComment)
223224
{
224225
_auditUserComment = auditUserComment;
226+
return this;
225227
}
226228

227229
public CommandType getCommandType()
@@ -234,19 +236,21 @@ public String getContainerPath()
234236
return _containerPath;
235237
}
236238

237-
public void setContainerPath(String containerPath)
239+
public Command setContainerPath(String containerPath)
238240
{
239241
_containerPath = containerPath;
242+
return this;
240243
}
241244

242245
public Map<String, Object> getExtraContext()
243246
{
244247
return _extraContext;
245248
}
246249

247-
public void setExtraContext(Map<String, Object> extraContext)
250+
public Command setExtraContext(Map<String, Object> extraContext)
248251
{
249252
_extraContext = extraContext;
253+
return this;
250254
}
251255

252256
public String getQueryName()
@@ -264,19 +268,21 @@ public List<Map<String, Object>> getRows()
264268
return _rows;
265269
}
266270

267-
public void setRows(List<Map<String, Object>> rows)
271+
public Command setRows(List<Map<String, Object>> rows)
268272
{
269273
_rows = rows;
274+
return this;
270275
}
271276

272277
public Boolean isSkipReselectRows()
273278
{
274279
return _skipReselectRows;
275280
}
276281

277-
public void setSkipReselectRows(Boolean skipReselectRows)
282+
public Command setSkipReselectRows(Boolean skipReselectRows)
278283
{
279284
_skipReselectRows = skipReselectRows;
285+
return this;
280286
}
281287
}
282288
}

0 commit comments

Comments
 (0)