SysDecIsLessThanOrEqualQC.java :  » Workflow-Engines » JFolder » org » jfolder » workflow » query » Java Open Source

Java Open Source » Workflow Engines » JFolder 
JFolder » org » jfolder » workflow » query » SysDecIsLessThanOrEqualQC.java
/*
 * JFolder, Copyright 2001-2006 Gary Steinmetz
 *
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 */

package org.jfolder.workflow.query;

//base classes
import java.math.BigDecimal;
import java.util.ArrayList;

//project specific classes

//other classes

public class SysDecIsLessThanOrEqualQC implements QueryContainer {
    
    private String attrName = null;
    private BigDecimal value = null;
    
    private SysDecIsLessThanOrEqualQC() {
    }
    
    public final static QueryContainer createQuery(String inAttrName,
        BigDecimal inValue) {
        
        SysDecIsLessThanOrEqualQC outValue = new SysDecIsLessThanOrEqualQC();
        
        outValue.attrName = inAttrName;
        outValue.value = inValue;
        
        return outValue;
    }
    
    //public void prepareQuery(StringBuffer inSb, ArrayList inParameters,
    //    QueryVendor inQv) {
    //    
    //    inQv.prepareQuery(inSb, inParameters, this);
    //}
    
    public String getAttributeName() {
        return this.attrName;
    }
    
    public BigDecimal getDecimalValue() {
        return this.value;
    }
}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.