01: /*
02: * JFolder, Copyright 2001-2006 Gary Steinmetz
03: *
04: * Distributable under LGPL license.
05: * See terms of license at gnu.org.
06: */
07:
08: package org.jfolder.workflow.lifecycle;
09:
10: //base classes
11: import java.util.ArrayList;
12:
13: //project specific classes
14:
15: //other classes
16:
17: class QueryPreparer {
18:
19: private String query = null;
20: private ArrayList parameters = null;
21:
22: QueryPreparer() {
23: }
24:
25: void setQuery(String inQuery) {
26: this .query = inQuery;
27: }
28:
29: void setParameters(ArrayList inParameters) {
30: this .parameters = (ArrayList) inParameters.clone();
31: }
32:
33: public String getQuery() {
34: return this .query;
35: }
36:
37: public ArrayList getParameters() {
38: return (ArrayList) this.parameters.clone();
39: }
40: }
|