当前位置: 首页>>代码示例>>Java>>正文


Java QBFCompareEnum.COMP_LESS属性代码示例

本文整理汇总了Java中com.openbravo.data.loader.QBFCompareEnum.COMP_LESS属性的典型用法代码示例。如果您正苦于以下问题:Java QBFCompareEnum.COMP_LESS属性的具体用法?Java QBFCompareEnum.COMP_LESS怎么用?Java QBFCompareEnum.COMP_LESS使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在com.openbravo.data.loader.QBFCompareEnum的用法示例。


在下文中一共展示了QBFCompareEnum.COMP_LESS属性的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: getNonMandatoryString

/**
     *
     * @return
     */
    public static ListQBFModelNumber getNonMandatoryString() {
        return new ListQBFModelNumber(
            QBFCompareEnum.COMP_NONE,
            QBFCompareEnum.COMP_EQUALS,
            QBFCompareEnum.COMP_RE,
            QBFCompareEnum.COMP_DISTINCT,
            QBFCompareEnum.COMP_GREATER,
            QBFCompareEnum.COMP_LESS,
            QBFCompareEnum.COMP_GREATEROREQUALS,
              QBFCompareEnum.COMP_LESSOREQUALS,
              QBFCompareEnum.COMP_ISNULL,
//            QBFCompareEnum.COMP_ISNOTNULL,
//        };
//        m_sel = m_items[0];
            QBFCompareEnum.COMP_ISNOTNULL
        );
    }
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:21,代码来源:ListQBFModelNumber.java

示例2: getMandatoryString

public static ListQBFModelNumber getMandatoryString() {
    return new ListQBFModelNumber(
        QBFCompareEnum.COMP_NONE,
        QBFCompareEnum.COMP_EQUALS,
        QBFCompareEnum.COMP_RE,
        QBFCompareEnum.COMP_DISTINCT,
        QBFCompareEnum.COMP_GREATER,
        QBFCompareEnum.COMP_LESS,
        QBFCompareEnum.COMP_GREATEROREQUALS,
        QBFCompareEnum.COMP_LESSOREQUALS
    );
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:12,代码来源:ListQBFModelNumber.java

示例3: getMandatoryNumber

public static ListQBFModelNumber getMandatoryNumber() {
    return new ListQBFModelNumber(
        QBFCompareEnum.COMP_NONE,
        QBFCompareEnum.COMP_EQUALS,
        QBFCompareEnum.COMP_DISTINCT,
        QBFCompareEnum.COMP_GREATER,
        QBFCompareEnum.COMP_LESS,
        QBFCompareEnum.COMP_GREATEROREQUALS,
        QBFCompareEnum.COMP_LESSOREQUALS
    );
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:11,代码来源:ListQBFModelNumber.java

示例4: getNonMandatoryString

public static ListQBFModelNumber getNonMandatoryString() {
    return new ListQBFModelNumber(
        QBFCompareEnum.COMP_NONE,
        QBFCompareEnum.COMP_EQUALS,
        QBFCompareEnum.COMP_RE,
        QBFCompareEnum.COMP_DISTINCT,
        QBFCompareEnum.COMP_GREATER,
        QBFCompareEnum.COMP_LESS,
        QBFCompareEnum.COMP_GREATEROREQUALS,
        QBFCompareEnum.COMP_LESSOREQUALS,
        QBFCompareEnum.COMP_ISNULL,
        QBFCompareEnum.COMP_ISNOTNULL
    );
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:14,代码来源:ListQBFModelNumber.java

示例5: getNonMandatoryNumber

public static ListQBFModelNumber getNonMandatoryNumber() {
    return new ListQBFModelNumber(
        QBFCompareEnum.COMP_NONE,
        QBFCompareEnum.COMP_EQUALS,
        QBFCompareEnum.COMP_DISTINCT,
        QBFCompareEnum.COMP_GREATER,
        QBFCompareEnum.COMP_LESS,
        QBFCompareEnum.COMP_GREATEROREQUALS,
        QBFCompareEnum.COMP_LESSOREQUALS,
        QBFCompareEnum.COMP_ISNULL,
        QBFCompareEnum.COMP_ISNOTNULL  
    );
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:13,代码来源:ListQBFModelNumber.java

示例6: createValue

public Object createValue() throws BasicException {
    Object startdate = Formats.TIMESTAMP.parseValue(jTxtStartDate.getText());
    Object enddate = Formats.TIMESTAMP.parseValue(jTxtEndDate.getText());   
    return new Object[] {
        startdate == null ? QBFCompareEnum.COMP_NONE : QBFCompareEnum.COMP_GREATEROREQUALS,
        startdate,
        enddate == null ? QBFCompareEnum.COMP_NONE : QBFCompareEnum.COMP_LESS,
        enddate
    };
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:10,代码来源:JParamsDatesInterval.java

示例7: getMandatoryString

/**
     *
     * @return
     */
        public static ListQBFModelNumber getMandatoryString() {
        return new ListQBFModelNumber(
              QBFCompareEnum.COMP_NONE,
              QBFCompareEnum.COMP_EQUALS,
              QBFCompareEnum.COMP_RE,
              QBFCompareEnum.COMP_DISTINCT,
//            QBFCompareEnum.COMP_GREATER,
            QBFCompareEnum.COMP_GREATER,
              QBFCompareEnum.COMP_LESS,
//            QBFCompareEnum.COMP_GREATEROREQUALS,
            QBFCompareEnum.COMP_GREATEROREQUALS,
            QBFCompareEnum.COMP_LESSOREQUALS
        );
    }
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:18,代码来源:ListQBFModelNumber.java

示例8: getMandatoryNumber

/**
 *
 * @return
 */
public static ListQBFModelNumber getMandatoryNumber() {
    return new ListQBFModelNumber(
        QBFCompareEnum.COMP_NONE,
        QBFCompareEnum.COMP_EQUALS,
        QBFCompareEnum.COMP_DISTINCT,
        QBFCompareEnum.COMP_GREATER,
        QBFCompareEnum.COMP_LESS,
        QBFCompareEnum.COMP_GREATEROREQUALS,
        QBFCompareEnum.COMP_LESSOREQUALS
    );
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:15,代码来源:ListQBFModelNumber.java

示例9: getNonMandatoryNumber

/**
 *
 * @return
 */
public static ListQBFModelNumber getNonMandatoryNumber() {
    return new ListQBFModelNumber(
        QBFCompareEnum.COMP_NONE,
        QBFCompareEnum.COMP_EQUALS,
        QBFCompareEnum.COMP_DISTINCT,
        QBFCompareEnum.COMP_GREATER,
        QBFCompareEnum.COMP_LESS,
        QBFCompareEnum.COMP_GREATEROREQUALS,
        QBFCompareEnum.COMP_LESSOREQUALS,
        QBFCompareEnum.COMP_ISNULL,
        QBFCompareEnum.COMP_ISNOTNULL
    );
  }
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:17,代码来源:ListQBFModelNumber.java

示例10: getOverrideMandatoryNumber

/**
     *
     * @return
     */
    public static ListQBFModelNumber getOverrideMandatoryNumber() {
        return new ListQBFModelNumber(
//            QBFCompareEnum.COMP_NONE,
            QBFCompareEnum.COMP_EQUALS,
            QBFCompareEnum.COMP_DISTINCT,
            QBFCompareEnum.COMP_GREATER,
            QBFCompareEnum.COMP_LESS,
            QBFCompareEnum.COMP_GREATEROREQUALS,
            QBFCompareEnum.COMP_LESSOREQUALS
        );
    }
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:15,代码来源:ListQBFModelNumber.java

示例11: createValue

/**
 *
 * @return
 * @throws BasicException
 */
@Override
public Object createValue() throws BasicException {
    Object startdate = Formats.TIMESTAMP.parseValue(jTxtStartDate.getText());
    Object enddate = Formats.TIMESTAMP.parseValue(jTxtEndDate.getText());  

    return new Object[] {
        startdate == null ? QBFCompareEnum.COMP_NONE : QBFCompareEnum.COMP_GREATEROREQUALS,
        startdate,
        enddate == null ? QBFCompareEnum.COMP_NONE : QBFCompareEnum.COMP_LESS,
        enddate
    };
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:17,代码来源:JParamsDatesInterval.java

示例12: createValue

@Override
public Object createValue() throws BasicException {
    
    Object[] afilter = new Object[14];
    
    // Ticket ID
    if (jtxtTicketID.getText() == null || jtxtTicketID.getText().equals("")) {
        afilter[0] = QBFCompareEnum.COMP_NONE;
        afilter[1] = null;
    } else {
        afilter[0] = QBFCompareEnum.COMP_EQUALS;
        afilter[1] = jtxtTicketID.getValueInteger();
    }
    
    // Sale and refund checkbox        
    if (jComboBoxTicket.getSelectedIndex() == 2) {
        afilter[2] = QBFCompareEnum.COMP_DISTINCT;
        afilter[3] = 2;
    } else if (jComboBoxTicket.getSelectedIndex() == 0) {
        afilter[2] = QBFCompareEnum.COMP_EQUALS;
        afilter[3] = 0;
    } else if (jComboBoxTicket.getSelectedIndex() == 1) {
        afilter[2] = QBFCompareEnum.COMP_EQUALS;
        afilter[3] = 1;
    }
    
    // Receipt money
    afilter[5] = jtxtMoney.getDoubleValue();
    afilter[4] = afilter[5] == null ? QBFCompareEnum.COMP_NONE : jcboMoney.getSelectedItem();
    
    // Date range
    Object startdate = Formats.TIMESTAMP.parseValue(jTxtStartDate.getText());
    Object enddate = Formats.TIMESTAMP.parseValue(jTxtEndDate.getText());
    
    afilter[6] = (startdate == null) ? QBFCompareEnum.COMP_NONE : QBFCompareEnum.COMP_GREATEROREQUALS;
    afilter[7] = startdate;
    afilter[8] = (enddate == null) ? QBFCompareEnum.COMP_NONE : QBFCompareEnum.COMP_LESS;
    afilter[9] = enddate;

    
    
    //User
    if (jcboUser.getSelectedItem() == null) {
        afilter[10] = QBFCompareEnum.COMP_NONE;
        afilter[11] = null; 
    } else {
        afilter[10] = QBFCompareEnum.COMP_EQUALS;
        afilter[11] = ((TaxCategoryInfo)jcboUser.getSelectedItem()).getName(); 
    }
    
    //Customer
    if (jtxtCustomer.getText() == null || jtxtCustomer.getText().equals("")) {
        afilter[12] = QBFCompareEnum.COMP_NONE;
        afilter[13] = null;
    } else {
        afilter[12] = QBFCompareEnum.COMP_RE;
        afilter[13] = "%" + jtxtCustomer.getText() + "%";
    }
    
    return afilter;

}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:62,代码来源:JTicketsFinder.java

示例13: createValue

/**
 *
 * @return
 * @throws BasicException
 */
@Override
public Object createValue() throws BasicException {
    
    Object[] afilter = new Object[14];
    
    // Ticket ID
    if (jtxtTicketID.getText() == null || jtxtTicketID.getText().equals("")) {
        afilter[0] = QBFCompareEnum.COMP_NONE;
        afilter[1] = null;
    } else {
        afilter[0] = QBFCompareEnum.COMP_EQUALS;
        afilter[1] = jtxtTicketID.getValueInteger();
    }
    
    // Sale and refund checkbox        
    if (jComboBoxTicket.getSelectedIndex() == 2) {
        afilter[2] = QBFCompareEnum.COMP_DISTINCT;
        afilter[3] = 2;
    } else if (jComboBoxTicket.getSelectedIndex() == 0) {
        afilter[2] = QBFCompareEnum.COMP_EQUALS;
        afilter[3] = 0;
    } else if (jComboBoxTicket.getSelectedIndex() == 1) {
        afilter[2] = QBFCompareEnum.COMP_EQUALS;
        afilter[3] = 1;
    }
    
    // Receipt money
    afilter[5] = jtxtMoney.getDoubleValue();
    afilter[4] = afilter[5] == null ? QBFCompareEnum.COMP_NONE : jcboMoney.getSelectedItem();
    
    // Date range
    Object startdate = Formats.TIMESTAMP.parseValue(jTxtStartDate.getText());
    Object enddate = Formats.TIMESTAMP.parseValue(jTxtEndDate.getText());
    
    afilter[6] = (startdate == null) ? QBFCompareEnum.COMP_NONE : QBFCompareEnum.COMP_GREATEROREQUALS;
    afilter[7] = startdate;
    afilter[8] = (enddate == null) ? QBFCompareEnum.COMP_NONE : QBFCompareEnum.COMP_LESS;
    afilter[9] = enddate;

    
    
    //User
    if (jcboUser.getSelectedItem() == null) {
        afilter[10] = QBFCompareEnum.COMP_NONE;
        afilter[11] = null; 
    } else {
        afilter[10] = QBFCompareEnum.COMP_EQUALS;
        afilter[11] = ((TaxCategoryInfo)jcboUser.getSelectedItem()).getName(); 
    }
    
    //Customer
    if (jtxtCustomer.getText() == null || jtxtCustomer.getText().equals("")) {
        afilter[12] = QBFCompareEnum.COMP_NONE;
        afilter[13] = null;
    } else {
        afilter[12] = QBFCompareEnum.COMP_RE;
        afilter[13] = "%" + jtxtCustomer.getText() + "%";
    }
    
    return afilter;

}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:67,代码来源:JTicketsFinder.java


注:本文中的com.openbravo.data.loader.QBFCompareEnum.COMP_LESS属性示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。