本文整理汇总了Java中com.openbravo.pos.customers.CustomerInfo.setSearchkey方法的典型用法代码示例。如果您正苦于以下问题:Java CustomerInfo.setSearchkey方法的具体用法?Java CustomerInfo.setSearchkey怎么用?Java CustomerInfo.setSearchkey使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类com.openbravo.pos.customers.CustomerInfo
的用法示例。
在下文中一共展示了CustomerInfo.setSearchkey方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: writeValueDelete
import com.openbravo.pos.customers.CustomerInfo; //导入方法依赖的package包/类
public void writeValueDelete(Object value) {
Object[] res = (Object[]) value;
m_sID = res[0];
m_dCreated = (Date) res[1];
m_timereservation.setCheckDates(m_dcurrentday, new Date(m_dcurrentday.getTime() + 3600000L));
m_timereservation.setDate((Date) res[2]);
CustomerInfo c = new CustomerInfo((String) res[3]);
c.setTaxid((String) res[4]);
c.setSearchkey((String) res[5]);
c.setName((String) res[6]);
assignCustomer(c);
m_jtxtChairs.setValueInteger(((Integer)res[7]).intValue());
m_bReceived = ((Boolean)res[8]).booleanValue();
m_jtxtDescription.setText(Formats.STRING.formatValue(res[9]));
m_timereservation.setEnabled(false);
txtCustomer.setEnabled(false);
m_jtxtChairs.setEnabled(false);
m_jtxtDescription.setEnabled(false);
m_jKeys.setEnabled(false);
m_jbtnReceive.setEnabled(false);
}
示例2: writeValueEdit
import com.openbravo.pos.customers.CustomerInfo; //导入方法依赖的package包/类
public void writeValueEdit(Object value) {
Object[] res = (Object[]) value;
m_sID = res[0];
m_dCreated = (Date) res[1];
m_timereservation.setCheckDates(m_dcurrentday, new Date(m_dcurrentday.getTime() + 3600000L));
m_timereservation.setDate((Date) res[2]);
CustomerInfo c = new CustomerInfo((String) res[3]);
c.setTaxid((String) res[4]);
c.setSearchkey((String) res[5]);
c.setName((String) res[6]);
assignCustomer(c);
m_jtxtChairs.setValueInteger(((Integer)res[7]).intValue());
m_bReceived = ((Boolean)res[8]).booleanValue();
m_jtxtDescription.setText(Formats.STRING.formatValue(res[9]));
m_timereservation.setEnabled(true);
txtCustomer.setEnabled(true);
m_jtxtChairs.setEnabled(true);
m_jtxtDescription.setEnabled(true);
m_jKeys.setEnabled(true);
m_jbtnReceive.setEnabled(!m_bReceived); // se habilita si no se ha recibido al cliente
txtCustomer.activate();
}
示例3: writeValueDelete
import com.openbravo.pos.customers.CustomerInfo; //导入方法依赖的package包/类
/**
*
* @param value
*/
@Override
public void writeValueDelete(Object value) {
Object[] res = (Object[]) value;
m_sID = res[0];
m_dCreated = (Date) res[1];
m_timereservation.setCheckDates(m_dcurrentday, new Date(m_dcurrentday.getTime() + 3600000L));
m_timereservation.setDate((Date) res[2]);
CustomerInfo c = new CustomerInfo((String) res[3]);
c.setTaxid((String) res[4]);
c.setSearchkey((String) res[5]);
c.setName((String) res[6]);
assignCustomer(c);
m_jtxtChairs.setValueInteger(((Integer)res[7]).intValue());
m_bReceived = ((Boolean)res[8]).booleanValue();
m_jtxtDescription.setText(Formats.STRING.formatValue(res[9]));
m_timereservation.setEnabled(false);
txtCustomer.setEnabled(false);
m_jtxtChairs.setEnabled(false);
m_jtxtDescription.setEnabled(false);
m_jKeys.setEnabled(false);
m_jbtnReceive.setEnabled(false);
}
示例4: writeValueEdit
import com.openbravo.pos.customers.CustomerInfo; //导入方法依赖的package包/类
/**
*
* @param value
*/
@Override
public void writeValueEdit(Object value) {
Object[] res = (Object[]) value;
m_sID = res[0];
m_dCreated = (Date) res[1];
m_timereservation.setCheckDates(m_dcurrentday, new Date(m_dcurrentday.getTime() + 3600000L));
m_timereservation.setDate((Date) res[2]);
CustomerInfo c = new CustomerInfo((String) res[3]);
c.setTaxid((String) res[4]);
c.setSearchkey((String) res[5]);
c.setName((String) res[6]);
assignCustomer(c);
m_jtxtChairs.setValueInteger(((Integer)res[7]).intValue());
m_bReceived = ((Boolean)res[8]).booleanValue();
m_jtxtDescription.setText(Formats.STRING.formatValue(res[9]));
m_timereservation.setEnabled(true);
txtCustomer.setEnabled(true);
m_jtxtChairs.setEnabled(true);
m_jtxtDescription.setEnabled(true);
m_jKeys.setEnabled(true);
m_jbtnReceive.setEnabled(!m_bReceived); // se habilita si no se ha recibido al cliente
txtCustomer.activate();
}