summaryrefslogtreecommitdiffstats
path: root/verigraph/src/it/polito/verigraph/tosca/yaml/beans/TopologyTemplateYaml.java
diff options
context:
space:
mode:
authorxiaodong shang <shang.xiaodong@zte.com.cn>2018-08-17 03:37:02 +0000
committerGerrit Code Review <gerrit@opnfv.org>2018-08-17 03:37:02 +0000
commit97422ce7044e14135a873c9f5b041591b86db00c (patch)
tree819dd6a03680a433b5f80d3764a0df3328b5434a /verigraph/src/it/polito/verigraph/tosca/yaml/beans/TopologyTemplateYaml.java
parent11252fd2c44468d850eca6679706e2a85f702fd8 (diff)
parent0f987a9e1b8e79caef48015adf865eef36216dbc (diff)
Merge "Add CLI in verigraph."
Diffstat (limited to 'verigraph/src/it/polito/verigraph/tosca/yaml/beans/TopologyTemplateYaml.java')
-rw-r--r--verigraph/src/it/polito/verigraph/tosca/yaml/beans/TopologyTemplateYaml.java35
1 files changed, 35 insertions, 0 deletions
diff --git a/verigraph/src/it/polito/verigraph/tosca/yaml/beans/TopologyTemplateYaml.java b/verigraph/src/it/polito/verigraph/tosca/yaml/beans/TopologyTemplateYaml.java
new file mode 100644
index 0000000..2653697
--- /dev/null
+++ b/verigraph/src/it/polito/verigraph/tosca/yaml/beans/TopologyTemplateYaml.java
@@ -0,0 +1,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;
+ }
+
+}