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