@@ -0,0 +1,469 @@
+package org.kie.api.definition.type;%0A%0Aimport java.lang.annotation.ElementType;%0Aimport java.lang.annotation.Retention;%0Aimport java.lang.annotation.RetentionPolicy;%0Aimport java.lang.annotation.Target;%0A%0A/**%0A *%0A * Annotation used to declare if a given class is a plain fact or an event%0A *%0A */%0A@Retention(value = RetentionPolicy.RUNTIME)%0A@Target(value = ElementType.TYPE)%0Apublic @interface Role %7B%0A%0A    Type value() default Type.FACT;%0A%0A    public enum Type %7B FACT, EVENT %7D%0A%7D%0A

add @Role java annotation