1 package org.openecomp.sdc.tosca.datatypes.model;
4 import java.util.Objects;
6 public class OperationDefinitionType extends OperationDefinition {
8 private String implementation;
9 private Map<String, PropertyDefinition> inputs;
11 public String getImplementation() {
12 return implementation;
15 public void setImplementation(String implementation) {
16 this.implementation = implementation;
19 public Map<String, PropertyDefinition> getInputs() {
23 public void setInputs(
24 Map<String, PropertyDefinition> inputs) {
29 public boolean equals(Object o) {
33 if (!(o instanceof OperationDefinitionType)) {
36 OperationDefinitionType that = (OperationDefinitionType) o;
37 return Objects.equals(implementation, that.implementation) &&
38 Objects.equals(inputs, that.inputs);
42 public int hashCode() {
44 return Objects.hash(implementation, inputs);