2 * ============LICENSE_START=======================================================
3 * Copyright (C) 2019 Ericsson. All rights reserved.
4 * ================================================================================
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
9 * http://www.apache.org/licenses/LICENSE-2.0
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
17 * SPDX-License-Identifier: Apache-2.0
18 * ============LICENSE_END=========================================================
20 package org.onap.so.bpmn.infrastructure.adapter.vnfm.tasks.utils;
22 import java.io.Serializable;
23 import java.util.ArrayList;
24 import java.util.HashMap;
25 import java.util.List;
27 import org.onap.vnfmadapter.v1.model.ExternalVirtualLink;
30 * Wrapper class for instance parameters which are based on SOL003
32 * @author waqas.ikram@est.tech
34 public class InputParameter implements Serializable {
36 private static final long serialVersionUID = 42034634585595304L;
38 private Map<String, String> additionalParams = new HashMap<>();
40 private List<ExternalVirtualLink> extVirtualLinks = new ArrayList<>();
42 public InputParameter(final Map<String, String> additionalParams, final List<ExternalVirtualLink> extVirtualLinks) {
43 this.additionalParams = additionalParams;
44 this.extVirtualLinks = extVirtualLinks;
48 * @return the additionalParams
50 public Map<String, String> getAdditionalParams() {
51 return additionalParams;
55 * @return the extVirtualLinks
57 public List<ExternalVirtualLink> getExtVirtualLinks() {
58 return extVirtualLinks;
62 * @param additionalParams the additionalParams to set
64 public void setAdditionalParams(final Map<String, String> additionalParams) {
65 this.additionalParams = additionalParams;
69 * @param extVirtualLinks the extVirtualLinks to set
71 public void setExtVirtualLinks(final List<ExternalVirtualLink> extVirtualLinks) {
72 this.extVirtualLinks = extVirtualLinks;
76 public String toString() {
77 return "InputParameter [additionalParams=" + additionalParams + ", extVirtualLinks=" + extVirtualLinks + "]";