diff options
Diffstat (limited to 'catalog-be/src/main/java/org/openecomp/sdc/be/view/ResponseView.java')
-rw-r--r-- | catalog-be/src/main/java/org/openecomp/sdc/be/view/ResponseView.java | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/catalog-be/src/main/java/org/openecomp/sdc/be/view/ResponseView.java b/catalog-be/src/main/java/org/openecomp/sdc/be/view/ResponseView.java new file mode 100644 index 0000000000..16733ed019 --- /dev/null +++ b/catalog-be/src/main/java/org/openecomp/sdc/be/view/ResponseView.java @@ -0,0 +1,17 @@ +package org.openecomp.sdc.be.view; + +import java.lang.annotation.ElementType; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +@Retention(RetentionPolicy.RUNTIME) +@Target(ElementType.METHOD) +public @interface ResponseView { + /** + * The mixins that will be used when converting the resource's response into a specific view of that response. + * A number of mixins can be declared, each of which corresponds to a different object. + */ + public Class<? extends Mixin>[] mixin(); +} + |