From 593d80f51d0d5e1d9a9d4e4ed881420bbc3fd089 Mon Sep 17 00:00:00 2001 From: cmrizhangzhen <781953240@qq.com> Date: Fri, 15 Jul 2022 15:03:35 +0800 Subject: change class name Issue-ID: USECASEUI-696 Signed-off-by: cmrizhangzhen <781953240@qq.com> Change-Id: I0bcffddf0b1e2757d96d84420840c4ca78110d36 --- .../CLLBusinessIntentManagementFunction.java | 35 ++++++++++++++ .../intentModuleImpl/ActuationModuleImpl.java | 48 +++++++++++++++++++ .../intentModuleImpl/DecisoinModuleImpl.java | 54 ++++++++++++++++++++++ .../intentModuleImpl/KnownledgeModuleImpl.java | 36 +++++++++++++++ .../IntentAnalysisManagementFunction.java | 35 -------------- .../intentModuleImpl/ActuationModuleImpl.java | 48 ------------------- .../intentModuleImpl/DecisoinModuleImpl.java | 54 ---------------------- .../intentModuleImpl/KnownledgeModuleImpl.java | 36 --------------- .../intentModule/ActuationModule.java | 4 +- .../intentModule/DecisionModule.java | 4 +- .../intentProcessService/Function.java | 29 ------------ .../IntentAnalysisFunction.java | 29 ++++++++++++ .../IntentDefinitionService.java | 6 +-- .../IntentDetectionService.java | 6 +-- .../IntentDistributionService.java | 6 +-- .../IntentInvestigationService.java | 6 +-- .../IntentOperationService.java | 6 +-- .../intentProcessService/IntentProcessService.java | 6 +-- 18 files changed, 224 insertions(+), 224 deletions(-) create mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/CLLBusinessIntentManagementFunction.java create mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/intentModuleImpl/ActuationModuleImpl.java create mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/intentModuleImpl/DecisoinModuleImpl.java create mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/intentModuleImpl/KnownledgeModuleImpl.java delete mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/IntentAnalysisManagementFunction.java delete mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/intentModuleImpl/ActuationModuleImpl.java delete mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/intentModuleImpl/DecisoinModuleImpl.java delete mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/intentModuleImpl/KnownledgeModuleImpl.java delete mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/Function.java create mode 100644 intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentAnalysisFunction.java (limited to 'intentanalysis/src/main') diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/CLLBusinessIntentManagementFunction.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/CLLBusinessIntentManagementFunction.java new file mode 100644 index 0000000..d15d63f --- /dev/null +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/CLLBusinessIntentManagementFunction.java @@ -0,0 +1,35 @@ +/* + * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.usecaseui.intentanalysis.CLLBusinessService; + + +import lombok.Data; +import org.onap.usecaseui.intentanalysis.CLLBusinessService.intentModuleImpl.ActuationModuleImpl; +import org.onap.usecaseui.intentanalysis.CLLBusinessService.intentModuleImpl.DecisoinModuleImpl; +import org.onap.usecaseui.intentanalysis.CLLBusinessService.intentModuleImpl.KnownledgeModuleImpl; +import org.onap.usecaseui.intentanalysis.intentModule.ActuationModule; +import org.onap.usecaseui.intentanalysis.intentModule.DecisionModule; +import org.onap.usecaseui.intentanalysis.intentModule.KnowledgeModule; +import org.onap.usecaseui.intentanalysis.intentProcessService.IntentAnalysisFunction; + +@Data +public class CLLBusinessIntentManagementFunction extends IntentAnalysisFunction { + private ActuationModule actuationModule = new ActuationModuleImpl(); + private DecisionModule decisoinModule = new DecisoinModuleImpl(); + private KnowledgeModule knowledgeModule = new KnownledgeModuleImpl(); + + +} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/intentModuleImpl/ActuationModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/intentModuleImpl/ActuationModuleImpl.java new file mode 100644 index 0000000..a644423 --- /dev/null +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/intentModuleImpl/ActuationModuleImpl.java @@ -0,0 +1,48 @@ +/* + * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.usecaseui.intentanalysis.CLLBusinessService.intentModuleImpl; + + +import org.onap.usecaseui.intentanalysis.intentModule.ActuationModule; +import org.onap.usecaseui.intentanalysis.intentProcessService.IntentAnalysisFunction; +import org.onap.usecaseui.intentanalysis.intentProcessService.IntentProcessService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; + +@Service +public class ActuationModuleImpl implements ActuationModule { + @Autowired + IntentProcessService processService; + + @Override + public void sendToIntentHandler(IntentAnalysisFunction intentHandler) { + processService.setIntentRole(intentHandler, null); + processService.intentProcess(); + } + + @Override + public void sendToNonIntentHandler() { + } + + @Override + public void interactWithIntentHandle() { + + } + + @Override + public void saveIntentToDb() { + } +} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/intentModuleImpl/DecisoinModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/intentModuleImpl/DecisoinModuleImpl.java new file mode 100644 index 0000000..108731a --- /dev/null +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/intentModuleImpl/DecisoinModuleImpl.java @@ -0,0 +1,54 @@ +/* + * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.usecaseui.intentanalysis.CLLBusinessService.intentModuleImpl; + + +import org.onap.usecaseui.intentanalysis.intentModule.DecisionModule; +import org.onap.usecaseui.intentanalysis.intentProcessService.IntentAnalysisFunction; +import org.springframework.stereotype.Service; + +@Service +public class DecisoinModuleImpl implements DecisionModule { + @Override + public void determineUltimateGoal() {} + + @Override + public IntentAnalysisFunction exploreIntentHandlers() { + + return null; + + } + + @Override + public void intentDefinition() {} + + @Override + public void decideSuitableAction() {} + + @Override + public boolean needDecompostion() { + return false; + } + + @Override + public void intentDecomposition() {} + + @Override + public void intentOrchestration() {} + + @Override + public void interactWithTemplateDb() {} +} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/intentModuleImpl/KnownledgeModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/intentModuleImpl/KnownledgeModuleImpl.java new file mode 100644 index 0000000..be45637 --- /dev/null +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/CLLBusinessService/intentModuleImpl/KnownledgeModuleImpl.java @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.usecaseui.intentanalysis.CLLBusinessService.intentModuleImpl; + +import org.onap.usecaseui.intentanalysis.intentModule.KnowledgeModule; +import org.springframework.stereotype.Service; + +@Service +public class KnownledgeModuleImpl implements KnowledgeModule { + @Override + public void intentResolution() {} + + @Override + public void intentReportResolution() {} + + @Override + public void getSystemStatus() {} + + @Override + public void interactWithIntentOwner() { + + } +} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/IntentAnalysisManagementFunction.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/IntentAnalysisManagementFunction.java deleted file mode 100644 index 55049f1..0000000 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/IntentAnalysisManagementFunction.java +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.onap.usecaseui.intentanalysis.intentAnalysisService; - - -import lombok.Data; -import org.onap.usecaseui.intentanalysis.intentAnalysisService.intentModuleImpl.ActuationModuleImpl; -import org.onap.usecaseui.intentanalysis.intentAnalysisService.intentModuleImpl.DecisoinModuleImpl; -import org.onap.usecaseui.intentanalysis.intentAnalysisService.intentModuleImpl.KnownledgeModuleImpl; -import org.onap.usecaseui.intentanalysis.intentModule.ActuationModule; -import org.onap.usecaseui.intentanalysis.intentModule.DecisionModule; -import org.onap.usecaseui.intentanalysis.intentModule.KnowledgeModule; -import org.onap.usecaseui.intentanalysis.intentProcessService.Function; - -@Data -public class IntentAnalysisManagementFunction extends Function { - private ActuationModule actuationModule = new ActuationModuleImpl(); - private DecisionModule decisoinModule = new DecisoinModuleImpl(); - private KnowledgeModule knowledgeModule = new KnownledgeModuleImpl(); - - -} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/intentModuleImpl/ActuationModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/intentModuleImpl/ActuationModuleImpl.java deleted file mode 100644 index 8a0d1ad..0000000 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/intentModuleImpl/ActuationModuleImpl.java +++ /dev/null @@ -1,48 +0,0 @@ -/* - * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.onap.usecaseui.intentanalysis.intentAnalysisService.intentModuleImpl; - - -import org.onap.usecaseui.intentanalysis.intentModule.ActuationModule; -import org.onap.usecaseui.intentanalysis.intentProcessService.Function; -import org.onap.usecaseui.intentanalysis.intentProcessService.IntentProcessService; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -@Service -public class ActuationModuleImpl implements ActuationModule { - @Autowired - IntentProcessService processService; - - @Override - public void sendToIntentHandler(Function intentHandler) { - processService.setIntentRole(intentHandler, null); - processService.intentProcess(); - } - - @Override - public void sendToNonIntentHandler() { - } - - @Override - public void interactWithIntentHandle() { - - } - - @Override - public void saveIntentToDb() { - } -} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/intentModuleImpl/DecisoinModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/intentModuleImpl/DecisoinModuleImpl.java deleted file mode 100644 index 53374e9..0000000 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/intentModuleImpl/DecisoinModuleImpl.java +++ /dev/null @@ -1,54 +0,0 @@ -/* - * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.onap.usecaseui.intentanalysis.intentAnalysisService.intentModuleImpl; - - -import org.onap.usecaseui.intentanalysis.intentModule.DecisionModule; -import org.onap.usecaseui.intentanalysis.intentProcessService.Function; -import org.springframework.stereotype.Service; - -@Service -public class DecisoinModuleImpl implements DecisionModule { - @Override - public void determineUltimateGoal() {} - - @Override - public Function exploreIntentHandlers() { - - return null; - - } - - @Override - public void intentDefinition() {} - - @Override - public void decideSuitableAction() {} - - @Override - public boolean needDecompostion() { - return false; - } - - @Override - public void intentDecomposition() {} - - @Override - public void intentOrchestration() {} - - @Override - public void interactWithTemplateDb() {} -} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/intentModuleImpl/KnownledgeModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/intentModuleImpl/KnownledgeModuleImpl.java deleted file mode 100644 index 664e182..0000000 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentAnalysisService/intentModuleImpl/KnownledgeModuleImpl.java +++ /dev/null @@ -1,36 +0,0 @@ -/* - * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.onap.usecaseui.intentanalysis.intentAnalysisService.intentModuleImpl; - -import org.onap.usecaseui.intentanalysis.intentModule.KnowledgeModule; -import org.springframework.stereotype.Service; - -@Service -public class KnownledgeModuleImpl implements KnowledgeModule { - @Override - public void intentResolution() {} - - @Override - public void intentReportResolution() {} - - @Override - public void getSystemStatus() {} - - @Override - public void interactWithIntentOwner() { - - } -} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentModule/ActuationModule.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentModule/ActuationModule.java index c3b1dd8..c747738 100644 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentModule/ActuationModule.java +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentModule/ActuationModule.java @@ -15,11 +15,11 @@ */ package org.onap.usecaseui.intentanalysis.intentModule; -import org.onap.usecaseui.intentanalysis.intentProcessService.Function; +import org.onap.usecaseui.intentanalysis.intentProcessService.IntentAnalysisFunction; public interface ActuationModule { //actuationModel & knownledgeModel interact - void sendToIntentHandler(Function IntentHandler); + void sendToIntentHandler(IntentAnalysisFunction IntentHandler); void sendToNonIntentHandler();//直接操作 void interactWithIntentHandle(); //Save intent information to the intent instance database diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentModule/DecisionModule.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentModule/DecisionModule.java index 372144d..9413499 100644 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentModule/DecisionModule.java +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentModule/DecisionModule.java @@ -16,11 +16,11 @@ package org.onap.usecaseui.intentanalysis.intentModule; -import org.onap.usecaseui.intentanalysis.intentProcessService.Function; +import org.onap.usecaseui.intentanalysis.intentProcessService.IntentAnalysisFunction; public interface DecisionModule { void determineUltimateGoal();// - Function exploreIntentHandlers(); + IntentAnalysisFunction exploreIntentHandlers(); void intentDefinition(); void decideSuitableAction(); diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/Function.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/Function.java deleted file mode 100644 index 5da548e..0000000 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/Function.java +++ /dev/null @@ -1,29 +0,0 @@ -/* - * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.onap.usecaseui.intentanalysis.intentProcessService; - - -import lombok.Data; -import org.onap.usecaseui.intentanalysis.intentModule.ActuationModule; -import org.onap.usecaseui.intentanalysis.intentModule.DecisionModule; -import org.onap.usecaseui.intentanalysis.intentModule.KnowledgeModule; - -@Data -public class Function { - private ActuationModule actuationModule; - private DecisionModule decisionModule; - private KnowledgeModule knowledgeModule; -} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentAnalysisFunction.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentAnalysisFunction.java new file mode 100644 index 0000000..91da955 --- /dev/null +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentAnalysisFunction.java @@ -0,0 +1,29 @@ +/* + * Copyright (C) 2022 CMCC, Inc. and others. All rights reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +package org.onap.usecaseui.intentanalysis.intentProcessService; + + +import lombok.Data; +import org.onap.usecaseui.intentanalysis.intentModule.ActuationModule; +import org.onap.usecaseui.intentanalysis.intentModule.DecisionModule; +import org.onap.usecaseui.intentanalysis.intentModule.KnowledgeModule; + +@Data +public class IntentAnalysisFunction { + private ActuationModule actuationModule; + private DecisionModule decisionModule; + private KnowledgeModule knowledgeModule; +} diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentDefinitionService.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentDefinitionService.java index e976195..aa79dc3 100644 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentDefinitionService.java +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentDefinitionService.java @@ -23,10 +23,10 @@ import org.springframework.stereotype.Service; @Service public class IntentDefinitionService { - private Function intentHandler; - private Function intentOwner; + private IntentAnalysisFunction intentHandler; + private IntentAnalysisFunction intentOwner; - public void setIntentRole(Function intentOwner, Function intentHandler) { + public void setIntentRole(IntentAnalysisFunction intentOwner, IntentAnalysisFunction intentHandler) { if (intentOwner != null) { this.intentOwner = intentOwner; } diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentDetectionService.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentDetectionService.java index fb92d71..cb536ed 100644 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentDetectionService.java +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentDetectionService.java @@ -21,10 +21,10 @@ import org.springframework.stereotype.Service; @Service public class IntentDetectionService { - private Function intentHandler; - private Function intentOwner; + private IntentAnalysisFunction intentHandler; + private IntentAnalysisFunction intentOwner; - public void setIntentRole(Function intentOwner,Function intentHandler){ + public void setIntentRole(IntentAnalysisFunction intentOwner, IntentAnalysisFunction intentHandler){ if (intentOwner!= null){ this.intentOwner = intentOwner; } diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentDistributionService.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentDistributionService.java index 3ab37f4..befd8a4 100644 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentDistributionService.java +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentDistributionService.java @@ -23,10 +23,10 @@ import org.springframework.stereotype.Service; @Service public class IntentDistributionService { @Autowired - private Function intentHandler; - private Function intentOwner; + private IntentAnalysisFunction intentHandler; + private IntentAnalysisFunction intentOwner; - public void setIntentRole(Function intentOwner,Function intentHandler){ + public void setIntentRole(IntentAnalysisFunction intentOwner, IntentAnalysisFunction intentHandler){ if (intentOwner!= null){ this.intentOwner = intentOwner; } diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentInvestigationService.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentInvestigationService.java index 18ecff4..8de3e9c 100644 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentInvestigationService.java +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentInvestigationService.java @@ -20,10 +20,10 @@ import org.springframework.stereotype.Service; @Service public class IntentInvestigationService { - private Function intentHandler; - private Function intentOwner; + private IntentAnalysisFunction intentHandler; + private IntentAnalysisFunction intentOwner; - public void setIntentRole(Function intentOwner,Function intentHandler){ + public void setIntentRole(IntentAnalysisFunction intentOwner, IntentAnalysisFunction intentHandler){ if (intentOwner!= null){ this.intentOwner = intentOwner; } diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentOperationService.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentOperationService.java index 0b6ec9c..274f474 100644 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentOperationService.java +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentOperationService.java @@ -23,10 +23,10 @@ import org.springframework.stereotype.Service; @Service public class IntentOperationService { - private Function intentHandler; - private Function intentOwner; + private IntentAnalysisFunction intentHandler; + private IntentAnalysisFunction intentOwner; - public void setIntentRole(Function intentOwner,Function intentHandler){ + public void setIntentRole(IntentAnalysisFunction intentOwner, IntentAnalysisFunction intentHandler){ if (intentOwner!= null){ this.intentOwner = intentOwner; } diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentProcessService.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentProcessService.java index f125f72..7f0e0a8 100644 --- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentProcessService.java +++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/intentProcessService/IntentProcessService.java @@ -31,11 +31,11 @@ public class IntentProcessService { @Autowired IntentOperationService intentOperationService; - private Function intentOwner; - private Function intentHandler; + private IntentAnalysisFunction intentOwner; + private IntentAnalysisFunction intentHandler; - public void setIntentRole(Function intentOwner,Function intentHandler){ + public void setIntentRole(IntentAnalysisFunction intentOwner, IntentAnalysisFunction intentHandler){ if (intentOwner!= null){ this.intentOwner = intentOwner; } -- cgit 1.2.3-korg