Initial OpenECOMP MSO commit
[so.git] / mso-catalog-db / src / main / java / org / openecomp / mso / db / catalog / beans / HeatTemplateParam.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * OPENECOMP - MSO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. 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
21 package org.openecomp.mso.db.catalog.beans;
22
23
24 public class HeatTemplateParam {
25         private int id;
26         private int heatTemplateId;
27         private String paramName;
28         private boolean required;
29         private String paramType;
30         private String paramAlias;
31         
32         public HeatTemplateParam() {}
33         
34         public int getId() {
35                 return id;
36         }
37         public void setId(int id) {
38                 this.id = id;
39         }
40         public int getHeatTemplateId() {
41                 return heatTemplateId;
42         }
43         public void setHeatTemplateId(int heatTemplateId) {
44                 this.heatTemplateId = heatTemplateId;
45         }
46         public String getParamName() {
47                 return paramName;
48         }
49         public void setParamName(String paramName) {
50                 this.paramName = paramName;
51         }
52         public boolean isRequired() {
53                 return required;
54         }
55         public void setRequired(boolean required) {
56                 this.required = required;
57         }
58         public String getParamAlias() {
59                 return paramAlias;
60         }
61         public void setParamAlias(String paramAlias) {
62                 this.paramAlias = paramAlias;
63         }
64         
65         public String getParamType() {
66             return paramType;
67         }
68         
69         public void setParamType (String paramType) {
70             this.paramType = paramType;
71         }
72         
73         
74         @Override
75         public String toString () {
76                 return "Param=" + paramName + ",type=" + paramType + ",required=" + required + ",paramAlias=" + paramAlias;
77         }
78 }