summaryrefslogtreecommitdiffstats
path: root/verigraph/src/it/polito/verigraph/tosca/yaml/beans/TopologyTemplateYaml.java
blob: 2653697f273e6965e2ab0b8f0a424bccaf94fca9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/*******************************************************************************
 * Copyright (c) 2018 Politecnico di Torino and others.
 *
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Apache License, Version 2.0
 * which accompanies this distribution, and is available at
 * http://www.apache.org/licenses/LICENSE-2.0
 *******************************************************************************/
package it.polito.verigraph.tosca.yaml.beans;

import java.util.Map;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

@JsonIgnoreProperties(ignoreUnknown = true)
public class TopologyTemplateYaml {
    private Map<String, NodeTemplateYaml> node_templates;
    private Map<String, RelationshipTemplateYaml> relationship_templates;

    public Map<String, RelationshipTemplateYaml> getRelationship_templates() {
        return relationship_templates;
    }

    public void setRelationship_templates(Map<String, RelationshipTemplateYaml> relationship_templates) {
        this.relationship_templates = relationship_templates;
    }

    public Map<String, NodeTemplateYaml> getNode_templates() {
        return node_templates;
    }

    public void setNode_templates(Map<String, NodeTemplateYaml> node_templates) {
        this.node_templates = node_templates;
    }

}