From 2a62c13ecfcf3fe0c22d8cd21d66d46e58105018 Mon Sep 17 00:00:00 2001 From: MichaelMorris Date: Wed, 19 May 2021 17:23:13 +0100 Subject: Support adding of relationship type to model Signed-off-by: MichaelMorris Issue-ID: SDC-3610 Change-Id: If315e21fa40e491cb1977dd9ceaf3e9b607e2f6f --- .../sdc/common/datastructure/FunctionalInterfaces.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'common-app-api/src/main/java') diff --git a/common-app-api/src/main/java/org/openecomp/sdc/common/datastructure/FunctionalInterfaces.java b/common-app-api/src/main/java/org/openecomp/sdc/common/datastructure/FunctionalInterfaces.java index 1cd030629e..d03ff05543 100644 --- a/common-app-api/src/main/java/org/openecomp/sdc/common/datastructure/FunctionalInterfaces.java +++ b/common-app-api/src/main/java/org/openecomp/sdc/common/datastructure/FunctionalInterfaces.java @@ -79,6 +79,19 @@ public class FunctionalInterfaces { */ void accept(T1 t1, T2 t2); } + + @FunctionalInterface + public interface ConsumerThreeParam { + + /** + * Same Accept method, but takes three parameters + * + * @param t1 + * @param t2 + * @param t3 + */ + void accept(T1 t1, T2 t2, T3 t3); + } /** * @param -- cgit 1.2.3-korg