Reformat catalog-model
[sdc.git] / catalog-model / src / main / java / org / openecomp / sdc / be / model / ComponentInstListInput.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
4  * ================================================================================
5  * Copyright (C) 2019 Fujitsu Limited. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20 package org.openecomp.sdc.be.model;
21
22 /**
23  * Represents a pair of a list of properties to be declared and a "list input" to be created. This class is used for passing parameters on creating a
24  * list input.
25  */
26 public class ComponentInstListInput {
27
28     private ComponentInstInputsMap componentInstInputsMap;
29     private InputDefinition listInput;
30
31     /**
32      * Gets componentInstInputsMap which includes properties to be declared.
33      *
34      * @return componentInstInputsMap
35      */
36     public ComponentInstInputsMap getComponentInstInputsMap() {
37         return componentInstInputsMap;
38     }
39
40     /**
41      * Sets componentInstInputsMap.
42      *
43      * @param componentInstInputsMap
44      */
45     public void setComponentInstInputsMap(ComponentInstInputsMap componentInstInputsMap) {
46         this.componentInstInputsMap = componentInstInputsMap;
47     }
48
49     /**
50      * Gets the input to be created.
51      *
52      * @return the list input
53      */
54     public InputDefinition getListInput() {
55         return listInput;
56     }
57
58     /**
59      * Sets the input to be created.
60      *
61      * @param listInput
62      */
63     public void setListInput(InputDefinition listInput) {
64         this.listInput = listInput;
65     }
66 }