this.type = type;
if ("*".equals(type)) { return true; } if (type.equals(notification.getType())) return true; else return false;