Interface is formatted using extended notation when no implementation added at VFC...
[sdc.git] / common-be / src / main / java / org / openecomp / sdc / be / datatypes / elements / OperationInstance.java
index 80c86d8..1da4829 100644 (file)
 package org.openecomp.sdc.be.datatypes.elements;
 
 import java.util.Map;
-import java.util.Objects;
+import lombok.Data;
+
+@Data
+public class OperationInstance {
 
-public class OperationInstance/* extends Operation*/ {
     private OperationImplementation implementation;
     private Map<String, Object> inputs;
 
-
-    public OperationImplementation getImplementation() {
-        return implementation;
-    }
-
-    public void setImplementation(OperationImplementation implementation) {
-        this.implementation = implementation;
-    }
-
-    public Map<String, Object> getInputs() {
-        return inputs;
-    }
-
-    public void setInputs(Map<String, Object> inputs) {
-        this.inputs = inputs;
-    }
-
-    @Override
-    public boolean equals(Object o) {
-        if (this == o) {
-            return true;
-        }
-        if (!(o instanceof OperationInstance)) {
-            return false;
-        }
-        OperationInstance that = (OperationInstance) o;
-        return Objects.equals(implementation, that.implementation)
-                && Objects.equals(inputs, that.inputs);
-    }
-
-    @Override
-    public int hashCode() {
-
-        return Objects.hash(implementation, inputs);
-    }
 }