package dynamicguiexample; /** * Represents a mobile version of Company that can be exported for use on * Mobile Applications * @author paul carey */ public class Company { private Integer companyId; private String customerCode; private String supplierCode; private String name; private String tel; private String fax; private String email; private String web; /** * @return the companyId */ public Integer getCompanyId() { return companyId; } /** * @param companyId the companyId to set */ public void setCompanyId(Integer companyId) { this.companyId = companyId; } /** * @return the customerCode */ public String getCustomerCode() { return customerCode; } /** * @param customerCode the customerCode to set */ public void setCustomerCode(String customerCode) { this.customerCode = customerCode; } /** * @return the supplierCode */ public String getSupplierCode() { return supplierCode; } /** * @param supplierCode the supplierCode to set */ public void setSupplierCode(String supplierCode) { this.supplierCode = supplierCode; } /** * @return the name */ public String getName() { return name; } /** * @param name the name to set */ public void setName(String name) { this.name = name; } /** * @return the tel */ public String getTel() { return tel; } /** * @param tel the tel to set */ public void setTel(String tel) { this.tel = tel; } /** * @return the fax */ public String getFax() { return fax; } /** * @param fax the fax to set */ public void setFax(String fax) { this.fax = fax; } /** * @return the email */ public String getEmail() { return email; } /** * @param email the email to set */ public void setEmail(String email) { this.email = email; } /** * @return the web */ public String getWeb() { return web; } /** * @param web the web to set */ public void setWeb(String web) { this.web = web; } @Override public String toString() { return getName(); } public String getFileName() { return getName() + getCompanyId() + ".company.xml"; } public String getFolder() { return "companies"; } }