public Attributes generic(String name, String componentAttribute, String... events) { ComponentAttribute attribute = createAttribute(name, componentAttribute); attribute.setEventNames(events); attribute.setKind(Kind.GENERIC); return this; }