cahnge to getter 15/130015/1
authorcmrizhangzhen <781953240@qq.com>
Mon, 25 Jul 2022 02:26:04 +0000 (10:26 +0800)
committercmrizhangzhen <781953240@qq.com>
Mon, 25 Jul 2022 02:28:05 +0000 (10:28 +0800)
Issue-ID: USECASEUI-696
Signed-off-by: cmrizhangzhen <781953240@qq.com>
Change-Id: I130d41b0c0babd857e993b886373b0b4a31f7dc0

intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/IntentFunctionType.java
intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/SupportArea.java
intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/bean/enums/SupportInterface.java
intentanalysis/src/main/java/org/onap/usecaseui/intentanalysis/cllBusinessIntentMgt/intentModuleImpl/ActuationModuleImpl.java

index c9d00a2..93a5221 100644 (file)
 
 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;
-    }
 }
index 5f1a003..3cf08f7 100644 (file)
@@ -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;
index a375e68..2ae7262 100644 (file)
@@ -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;
-    }
 }