aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src/main/java/org/openecomp/sdc/be/view/MixinTarget.java
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-be/src/main/java/org/openecomp/sdc/be/view/MixinTarget.java')
-rw-r--r--catalog-be/src/main/java/org/openecomp/sdc/be/view/MixinTarget.java19
1 files changed, 19 insertions, 0 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/view/MixinTarget.java b/catalog-be/src/main/java/org/openecomp/sdc/be/view/MixinTarget.java
new file mode 100644
index 0000000000..cb44250331
--- /dev/null
+++ b/catalog-be/src/main/java/org/openecomp/sdc/be/view/MixinTarget.java
@@ -0,0 +1,19 @@
+package org.openecomp.sdc.be.view;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Inherited;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+@Retention(RetentionPolicy.RUNTIME)
+@Target(ElementType.TYPE)
+@Inherited
+public @interface MixinTarget {
+ /**
+ *
+ * @return the class which is the target for the mixin. (i.e the class to be serialized into a json response)
+ */
+ Class<?> target();
+
+}