2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
20 package org.openecomp.sdc.common.api;
22 import java.util.List;
24 public class ToscaNodeTypeInfo {
26 private String nodeName;
27 private String templateVersion;
28 private List<ToscaNodeTypeInterface> interfaces;
29 private String iconPath;
30 private String templateName;
32 public String getTemplateName() {
36 public void setTemplateName(String templateName) {
37 this.templateName = templateName;
40 public String getNodeName() {
44 public void setNodeName(String nodeName) {
45 this.nodeName = nodeName;
48 public String getTemplateVersion() {
49 return templateVersion;
52 public void setTemplateVersion(String templateVersion) {
53 this.templateVersion = templateVersion;
56 public List<ToscaNodeTypeInterface> getInterfaces() {
60 public void setInterfaces(List<ToscaNodeTypeInterface> interfaces) {
61 this.interfaces = interfaces;
64 public String getIconPath() {
68 public void setIconPath(String iconPath) {
69 this.iconPath = iconPath;
73 public String toString() {
74 return "ToscaNodeTypeInfo [nodeName=" + nodeName + ", templateVersion=" + templateVersion + ", templateName=" + templateName + ", interfaces="
75 + interfaces + ", iconPath=" + iconPath + "]";