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 SysStringIsEqualQC implements StringQueryContainer {
18:
19: private String attrName = null;
20: private String value = null;
21:
22: private SysStringIsEqualQC() {
23: }
24:
25: public final static QueryContainer createQuery(String inAttrName,
26: String inValue) {
27:
28: SysStringIsEqualQC outValue = new SysStringIsEqualQC();
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:
40: public String getAttributeName() {
41: return this .attrName;
42: }
43:
44: public String getStringValue() {
45: return this.value;
46: }
47: }
|