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