2 * Copyright © 2017-2018 AT&T Intellectual Property.
\r
3 * Modifications Copyright © 2018 IBM.
\r
5 * Licensed under the Apache License, Version 2.0 (the "License");
\r
6 * you may not use this file except in compliance with the License.
\r
7 * You may obtain a copy of the License at
\r
9 * http://www.apache.org/licenses/LICENSE-2.0
\r
11 * Unless required by applicable law or agreed to in writing, software
\r
12 * distributed under the License is distributed on an "AS IS" BASIS,
\r
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 * See the License for the specific language governing permissions and
\r
15 * limitations under the License.
\r
18 package org.onap.ccsdk.config.model.data;
\r
20 import java.util.Map;
\r
21 import com.fasterxml.jackson.annotation.JsonIgnore;
\r
22 import com.fasterxml.jackson.annotation.JsonProperty;
\r
25 * TopologyTemplate.java Purpose: Provide TopologyTemplate TOSCO Model POJO bean.
\r
29 public class TopologyTemplate {
\r
32 private String description;
\r
33 private Map<String, PropertyDefinition> inputs;
\r
34 @JsonProperty("node_templates")
\r
35 private Map<String, NodeTemplate> nodeTemplates;
\r
36 @JsonProperty("relationship_templates")
\r
37 private Map<String, RelationshipTemplate> relationshipTemplates;
\r
38 private Map<String, CapabilityAssignment> capabilities;
\r
39 private Map<String, Workflow> workflows;
\r
41 public String getId() {
\r
45 public void setId(String id) {
\r
49 public String getDescription() {
\r
53 public void setDescription(String description) {
\r
54 this.description = description;
\r
57 public Map<String, PropertyDefinition> getInputs() {
\r
61 public void setInputs(Map<String, PropertyDefinition> inputs) {
\r
62 this.inputs = inputs;
\r
65 public Map<String, NodeTemplate> getNodeTemplates() {
\r
66 return nodeTemplates;
\r
69 public void setNodeTemplates(Map<String, NodeTemplate> nodeTemplates) {
\r
70 this.nodeTemplates = nodeTemplates;
\r
73 public Map<String, RelationshipTemplate> getRelationshipTemplates() {
\r
74 return relationshipTemplates;
\r
77 public void setRelationshipTemplates(Map<String, RelationshipTemplate> relationshipTemplates) {
\r
78 this.relationshipTemplates = relationshipTemplates;
\r
81 public Map<String, CapabilityAssignment> getCapabilities() {
\r
82 return capabilities;
\r
85 public void setCapabilities(Map<String, CapabilityAssignment> capabilities) {
\r
86 this.capabilities = capabilities;
\r
89 public Map<String, Workflow> getWorkflows() {
\r
93 public void setWorkflows(Map<String, Workflow> workflows) {
\r
94 this.workflows = workflows;
\r