public Event(String tenantId, String id, long ctime, String dataSource, String dataId, String category, String text, Map<String, String> context, Map<String, String> tags) { this.tenantId = tenantId; this.id = id; setCtime(ctime); setDataSource(dataSource); this.dataId = dataId; this.category = category; this.text = text; this.context = context; this.tags = tags; this.eventType = EventType.EVENT.name(); }