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


Java CustomerInfo.setTaxid方法代码示例

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


在下文中一共展示了CustomerInfo.setTaxid方法的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); 
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:23,代码来源:JTicketsBagRestaurantRes.java

示例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();
}
 
开发者ID:iMartinezMateu,项目名称:openbravo-pos,代码行数:25,代码来源:JTicketsBagRestaurantRes.java

示例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); 
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:28,代码来源:JTicketsBagRestaurantRes.java

示例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();
}
 
开发者ID:gnoopy,项目名称:wifepos,代码行数:30,代码来源:JTicketsBagRestaurantRes.java


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