7f038e314d97032f399fcb53deb5cdf3c74686b4
[sdc.git] /
1 /*
2  * Copyright © 2016-2018 European Support Limited
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *   http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  * Modifications copyright (c) 2019 Nokia
16  */
17
18 package org.openecomp.sdc.vendorsoftwareproduct.types.schemagenerator;
19
20 import com.google.common.annotations.VisibleForTesting;
21
22 import java.util.List;
23 import java.util.Map;
24
25 public class ComponentQuestionnaireSchemaInput implements SchemaTemplateInput {
26   private String componentDisplayName;
27   private boolean manual;
28   private List<String> nicNames;
29   private Map componentQuestionnaireData;
30
31   @VisibleForTesting
32   ComponentQuestionnaireSchemaInput() {}
33
34   public ComponentQuestionnaireSchemaInput(List<String> nicNames, Map componentQuestionnaireData,
35                                String componentDisplayName, boolean manual) {
36     this.nicNames = nicNames;
37     this.componentQuestionnaireData = componentQuestionnaireData;
38     this.componentDisplayName = componentDisplayName;
39     this.manual = manual;
40   }
41
42   public List<String> getNicNames() {
43     return nicNames;
44   }
45
46   public Map getComponentQuestionnaireData() {
47     return componentQuestionnaireData;
48   }
49
50   public String getComponentDisplayName() {
51     return componentDisplayName;
52   }
53
54   public boolean isManual() {
55     return manual;
56   }
57 }