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.query;
09:
10: //base classes
11: import java.util.ArrayList;
12:
13: //project specific classes
14:
15: //other classes
16:
17: public class AppStringIsEqualQC implements StringQueryContainer {
18:
19: private String attrName = null;
20: private String value = null;
21:
22: private AppStringIsEqualQC() {
23: }
24:
25: public final static QueryContainer createQuery(String inAttrName,
26: String inValue) {
27:
28: AppStringIsEqualQC outValue = new AppStringIsEqualQC();
29:
30: outValue.attrName = inAttrName;
31: outValue.value = inValue;
32:
33: return outValue;
34: }
35:
36: //public void prepareQuery(StringBuffer inSb, ArrayList inParameters,
37: // QueryVendor inQv) {
38: //
39: // inQv.prepareQuery(inSb, inParameters, this);
40: //}
41:
42: public String getAttributeName() {
43: return this .attrName;
44: }
45:
46: public String getStringValue() {
47: return this.value;
48: }
49: }
|