Reformat common-app-api
[sdc.git] / common-app-api / src / main / java / org / openecomp / sdc / common / api / ToscaNodeTypeInfo.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * SDC
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 package org.openecomp.sdc.common.api;
21
22 import java.util.List;
23
24 public class ToscaNodeTypeInfo {
25
26     private String nodeName;
27     private String templateVersion;
28     private List<ToscaNodeTypeInterface> interfaces;
29     private String iconPath;
30     private String templateName;
31
32     public String getTemplateName() {
33         return templateName;
34     }
35
36     public void setTemplateName(String templateName) {
37         this.templateName = templateName;
38     }
39
40     public String getNodeName() {
41         return nodeName;
42     }
43
44     public void setNodeName(String nodeName) {
45         this.nodeName = nodeName;
46     }
47
48     public String getTemplateVersion() {
49         return templateVersion;
50     }
51
52     public void setTemplateVersion(String templateVersion) {
53         this.templateVersion = templateVersion;
54     }
55
56     public List<ToscaNodeTypeInterface> getInterfaces() {
57         return interfaces;
58     }
59
60     public void setInterfaces(List<ToscaNodeTypeInterface> interfaces) {
61         this.interfaces = interfaces;
62     }
63
64     public String getIconPath() {
65         return iconPath;
66     }
67
68     public void setIconPath(String iconPath) {
69         this.iconPath = iconPath;
70     }
71
72     @Override
73     public String toString() {
74         return "ToscaNodeTypeInfo [nodeName=" + nodeName + ", templateVersion=" + templateVersion + ", templateName=" + templateName + ", interfaces="
75             + interfaces + ", iconPath=" + iconPath + "]";
76     }
77 }