summaryrefslogtreecommitdiffstats
path: root/intentanalysis
diff options
context:
space:
mode:
authorcmrizhangzhen <781953240@qq.com>2022-07-25 10:26:04 +0800
committercmrizhangzhen <781953240@qq.com>2022-07-25 10:28:05 +0800
commitde96c7a9e34dcad201231a37e9beabfe4bf26ffd (patch)
treeb1844975d54a4bf01c83e01291bfab298715f4fd /intentanalysis
parent411dfd0c420ad82d698e2b383edbe6248e13ad5c (diff)
cahnge to getter
Issue-ID: USECASEUI-696 Signed-off-by: cmrizhangzhen <781953240@qq.com> Change-Id: I130d41b0c0babd857e993b886373b0b4a31f7dc0
Diffstat (limited to 'intentanalysis')
-rw-r--r--intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/IntentFunctionType.java20
-rw-r--r--intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/SupportArea.java18
-rw-r--r--intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/SupportInterface.java18
-rw-r--r--intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java1
4 files changed, 10 insertions, 47 deletions
diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/IntentFunctionType.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/IntentFunctionType.java
index c9d00a2..93a5221 100644
--- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/IntentFunctionType.java
+++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/IntentFunctionType.java
@@ -18,6 +18,10 @@
package org.onap.usecaseui.intentanalysis.bean.enums;
+import lombok.Getter;
+import lombok.Setter;
+
+@Getter
public enum IntentFunctionType {
INTERNALFUNCTION(0,"internalFunction"),
EXTERNALFUNCTION(1,"externalFunction");
@@ -28,20 +32,4 @@ public enum IntentFunctionType {
this.type = type;
this.desc = desc;
}
-
- public int getType() {
- return type;
- }
-
- public void setType(int type) {
- this.type = type;
- }
-
- public String getDesc() {
- return desc;
- }
-
- public void setDesc(String desc) {
- this.desc = desc;
- }
}
diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/SupportArea.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/SupportArea.java
index 5f1a003..3cf08f7 100644
--- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/SupportArea.java
+++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/SupportArea.java
@@ -17,6 +17,9 @@
*/
package org.onap.usecaseui.intentanalysis.bean.enums;
+import lombok.Getter;
+
+@Getter
public enum SupportArea {
SLICING(0, "slicing"),
FEMALE(1, "5g"),
@@ -24,21 +27,6 @@ public enum SupportArea {
private int type;
private String desc;
- public int getType() {
- return type;
- }
-
- public void setType(int type) {
- this.type = type;
- }
-
- public String getDesc() {
- return desc;
- }
-
- public void setDesc(String desc) {
- this.desc = desc;
- }
SupportArea(int type, String desc) {
this.type = type;
diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/SupportInterface.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/SupportInterface.java
index a375e68..2ae7262 100644
--- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/SupportInterface.java
+++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/SupportInterface.java
@@ -17,6 +17,9 @@
*/
package org.onap.usecaseui.intentanalysis.bean.enums;
+import lombok.Getter;
+
+@Getter
public enum SupportInterface {
//CREATE,DELETE,UPDATE,SEARCH;
CREATE(0,"CREATE"),
@@ -30,19 +33,4 @@ public enum SupportInterface {
this.name = name;
}
- public int getType() {
- return type;
- }
-
- public void setType(int type) {
- this.type = type;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
}
diff --git a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java
index 4d9eac7..bb7fbb5 100644
--- a/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java
+++ b/intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java
@@ -35,7 +35,6 @@ public class ActuationModuleImpl implements ActuationModule {
@Override
public void sendToNonIntentHandler() {
- System.out.println("hahha");
}
@Override