public JSClient(Client c) { this.id = c.getClientId(); this.name = c.getName(); this.userAgentPattern = c.getUserAgentPattern(); this.version = c.getVersion(); this.model = c.getModel(); this.evalOrder = c.getEvalOrder(); this.manufacturer = c.getManufacturer(); capabilities = new ArrayList(); mimeTypes = new ArrayList(); }