* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
package org.openecomp.sdc.be.model;
-import org.openecomp.sdc.be.datatypes.elements.OperationImplementation;
-
import java.util.Map;
import java.util.Objects;
+import org.openecomp.sdc.be.datatypes.elements.OperationImplementation;
public class OperationInstance/* extends Operation*/ {
- private OperationImplementation implementation;
- private Map<String, Object> inputs;
+ private OperationImplementation implementation;
+ private Map<String, Object> inputs;
- public OperationImplementation getImplementation() {
- return implementation;
- }
- public void setImplementation(OperationImplementation implementation) {
- this.implementation = implementation;
- }
+ public OperationImplementation getImplementation() {
+ return implementation;
+ }
- public Map<String, Object> getInputs() {
- return inputs;
- }
+ public void setImplementation(OperationImplementation implementation) {
+ this.implementation = implementation;
+ }
- public void setInputs(Map<String, Object> inputs) {
- this.inputs = inputs;
- }
+ public Map<String, Object> getInputs() {
+ return inputs;
+ }
- @Override
- public boolean equals(Object o) {
- if (this == o) {
- return true;
+ public void setInputs(Map<String, Object> inputs) {
+ this.inputs = inputs;
}
- if (!(o instanceof OperationInstance)) {
- return false;
+
+ @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);
}
- OperationInstance that = (OperationInstance) o;
- return Objects.equals(implementation, that.implementation) &&
- Objects.equals(inputs, that.inputs);
- }
- @Override
- public int hashCode() {
+ @Override
+ public int hashCode() {
- return Objects.hash(implementation, inputs);
- }
+ return Objects.hash(implementation, inputs);
+ }
}
+