Rev 2418 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
package in.shop2020.datalogger.event;public class ProductView extends Event{private String productName;public ProductView(String[] eventFileds) {super(eventFileds);productName = eventFileds[5].trim();}public String toString() {StringBuilder sb = new StringBuilder();sb.append(eventType.name() + ", ");sb.append("userEmail : " + userEmail);sb.append(" productName : " + productName);sb.append(" time : " + time);sb.append(" session : " + sessionId);return sb.toString();}public String getProductName() {return productName;}public void setProductName(String productName) {this.productName = productName;}}