本文整理汇总了Java中com.openbravo.data.loader.QBFCompareEnum.COMP_GREATER属性的典型用法代码示例。如果您正苦于以下问题:Java QBFCompareEnum.COMP_GREATER属性的具体用法?Java QBFCompareEnum.COMP_GREATER怎么用?Java QBFCompareEnum.COMP_GREATER使用的例子?那么恭喜您, 这里精选的属性代码示例或许可以为您提供帮助。您也可以进一步了解该属性所在类com.openbravo.data.loader.QBFCompareEnum
的用法示例。
在下文中一共展示了QBFCompareEnum.COMP_GREATER属性的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的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
);
}
示例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
);
}
示例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
);
}
示例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
);
}
示例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
);
}
示例6: 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
);
}
示例7: 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
);
}
示例8: 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
);
}
示例9: 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
);
}
示例10: createValue
/**
*
* @return
* @throws BasicException
*/
@Override
public Object createValue() throws BasicException {
Object[] afilter = new Object[12];
// BarCode
if (m_jtxtBarCode.getText() == null || m_jtxtBarCode.getText().equals("")) {
afilter[8] = QBFCompareEnum.COMP_NONE;
afilter[9] = null;
} else{
afilter[8] = QBFCompareEnum.COMP_RE;
afilter[9] = "%" + m_jtxtBarCode.getText().trim() + "%"; //gnoopy
}
// Product Name/Description
if (m_jtxtName.getText() == null || m_jtxtName.getText().equals("")) {
afilter[0] = QBFCompareEnum.COMP_NONE;
afilter[1] = null;
} else {
afilter[0] = QBFCompareEnum.COMP_RE;
afilter[1] = "%" + m_jtxtName.getText().trim() + "%"; //gnoopy
}
// Precio de compra
afilter[3] = m_jPriceBuy.getDoubleValue();
afilter[2] = afilter[3] == null ? QBFCompareEnum.COMP_NONE : m_jCboPriceBuy.getSelectedItem();
// Precio de venta
afilter[5] = m_jPriceSell.getDoubleValue();
afilter[4] = afilter[5] == null ? QBFCompareEnum.COMP_NONE : m_jCboPriceSell.getSelectedItem();
// Categoria
if (m_CategoryModel.getSelectedKey() == null) {
afilter[6] = QBFCompareEnum.COMP_NONE;
afilter[7] = null;
} else {
afilter[6] = QBFCompareEnum.COMP_EQUALS;
afilter[7] = m_CategoryModel.getSelectedKey();
}
// Inventory
// JG July 2014 - added for Stock Count
// afilter[11] = m_jStockUnits.getDoubleValue();
// afilter[10] = afilter[11] == null ? QBFCompareEnum.COMP_NONE : m_jCboStockUnits.getSelectedItem();
if (m_jStockUnits.getDoubleValue() == null) {
m_jCboStockUnits.setSelectedIndex(2);
m_jStockUnits.setDoubleValue(0.0);
repaint();
afilter[10] = QBFCompareEnum.COMP_GREATER;
afilter[11] = 0;
} else {
afilter[10] = m_jCboStockUnits.getSelectedItem();
afilter[11] = m_jStockUnits.getDoubleValue();
}
System.out.println(afilter[10]);
System.out.println(afilter[11]);
System.out.println(afilter);
return afilter;
}
示例11: createValue
/**
*
* @return
* @throws BasicException
*/
@Override
public Object createValue() throws BasicException {
Object[] afilter = new Object[12];
// BarCode
if (m_jtxtBarCode.getText() == null || m_jtxtBarCode.getText().equals("")) {
afilter[8] = QBFCompareEnum.COMP_NONE;
afilter[9] = null;
} else{
afilter[8] = QBFCompareEnum.COMP_RE;
afilter[9] = "%" + m_jtxtBarCode.getText() + "%";
}
// Product Name/Description
if (m_jtxtName.getText() == null || m_jtxtName.getText().equals("")) {
afilter[0] = QBFCompareEnum.COMP_NONE;
afilter[1] = null;
} else {
afilter[0] = QBFCompareEnum.COMP_RE;
afilter[1] = "%" + m_jtxtName.getText() + "%";
}
// Precio de compra
afilter[3] = m_jPriceBuy.getDoubleValue();
afilter[2] = afilter[3] == null ? QBFCompareEnum.COMP_NONE : m_jCboPriceBuy.getSelectedItem();
// Precio de venta
afilter[5] = m_jPriceSell.getDoubleValue();
afilter[4] = afilter[5] == null ? QBFCompareEnum.COMP_NONE : m_jCboPriceSell.getSelectedItem();
// Categoria
if (m_CategoryModel.getSelectedKey() == null) {
afilter[6] = QBFCompareEnum.COMP_NONE;
afilter[7] = null;
} else {
afilter[6] = QBFCompareEnum.COMP_EQUALS;
afilter[7] = m_CategoryModel.getSelectedKey();
}
// Inventory
// JG July 2014 - added for Stock Count
// afilter[11] = m_jStockUnits.getDoubleValue();
// afilter[10] = afilter[11] == null ? QBFCompareEnum.COMP_NONE : m_jCboStockUnits.getSelectedItem();
if (m_jStockUnits.getDoubleValue() == null) {
m_jCboStockUnits.setSelectedIndex(2);
m_jStockUnits.setDoubleValue(0.0);
repaint();
afilter[10] = QBFCompareEnum.COMP_GREATER;
afilter[11] = 0;
} else {
afilter[10] = m_jCboStockUnits.getSelectedItem();
afilter[11] = m_jStockUnits.getDoubleValue();
}
System.out.println(afilter[10]);
System.out.println(afilter[11]);
System.out.println(afilter);
return afilter;
}