package org.kie.workbench.common.services.shared.builder.model;

/**
 * An enum to define where a Type was defined
 */
public enum TypeSource {
    JAVA_PROJECT, //Within the project
    JAVA_DEPENDENCY, //Within a dependency
    DECLARED //From DRL
}

@@ -58,16 +58,80 @@
 model;%0A%0A
+import org.jboss.errai.common.client.api.annotations.Portable;%0A%0A
 /**%0A * A
@@ -176,16 +176,26 @@
 ned%0A */%0A
+@Portable%0A
 public e

Make TypeSource @Portable