summaryrefslogtreecommitdiffstats
path: root/verigraph/src/main/java/it/polito/nffg/neo4j
diff options
context:
space:
mode:
Diffstat (limited to 'verigraph/src/main/java/it/polito/nffg/neo4j')
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ActionEnumType.java59
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ActionType.java81
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ActionsType.java67
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CiType.java206
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CpType.java86
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CpointsType.java67
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CtrlInterfacesType.java67
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpCpType.java89
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpType.java260
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpointsType.java65
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpsCpsType.java67
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/FlowrulesType.java619
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/HttpMessage.java108
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/MonParamsType.java122
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NeType.java133
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NelementsType.java67
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NfType.java181
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/Nffg.java183
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NffgSet.java69
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NfunctionsType.java67
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ObjectFactory.java319
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/Paths.java163
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/PortDirEnumType.java60
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/PortType.java104
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/Property.java152
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/SpecType.java577
-rw-r--r--verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/package-info.java11
27 files changed, 4049 insertions, 0 deletions
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ActionEnumType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ActionEnumType.java
new file mode 100644
index 0000000..e7504b5
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ActionEnumType.java
@@ -0,0 +1,59 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for actionEnumType.
+ *
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="actionEnumType">
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * &lt;enumeration value="discard"/>
+ * &lt;enumeration value="output"/>
+ * &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ *
+ */
+@XmlType(name = "actionEnumType")
+@XmlEnum
+public enum ActionEnumType {
+
+ @XmlEnumValue("discard")
+ DISCARD("discard"),
+ @XmlEnumValue("output")
+ OUTPUT("output");
+ private final String value;
+
+ ActionEnumType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static ActionEnumType fromValue(String v) {
+ for (ActionEnumType c: ActionEnumType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ActionType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ActionType.java
new file mode 100644
index 0000000..db86975
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ActionType.java
@@ -0,0 +1,81 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for actionType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="actionType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="type" use="required" type="{http://www.example.org/nffg/}actionEnumType" />
+ * &lt;attribute name="port" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "actionType")
+public class ActionType {
+
+ @XmlAttribute(name = "type", required = true)
+ protected ActionEnumType type;
+ @XmlAttribute(name = "port")
+ protected String port;
+
+ /**
+ * Gets the value of the type property.
+ * @return
+ * possible object is
+ * {@link ActionEnumType }
+ */
+ public ActionEnumType getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ * @param value
+ * allowed object is
+ * {@link ActionEnumType }
+ */
+ public void setType(ActionEnumType value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the port property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getPort() {
+ return port;
+ }
+
+ /**
+ * Sets the value of the port property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setPort(String value) {
+ this.port = value;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ActionsType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ActionsType.java
new file mode 100644
index 0000000..5b81ae7
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ActionsType.java
@@ -0,0 +1,67 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for actionsType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="actionsType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="action" type="{http://www.example.org/nffg/}actionType" maxOccurs="unbounded"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "actionsType", propOrder = {
+ "action"
+})
+public class ActionsType {
+
+ @XmlElement(required = true)
+ protected List<ActionType> action;
+
+ /**
+ * Gets the value of the action property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the action property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAction().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link ActionType }
+ */
+ public List<ActionType> getAction() {
+ if (action == null) {
+ action = new ArrayList<ActionType>();
+ }
+ return this.action;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CiType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CiType.java
new file mode 100644
index 0000000..9a82728
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CiType.java
@@ -0,0 +1,206 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ciType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="ciType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="attributes">
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="attribute" maxOccurs="unbounded" minOccurs="0">
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;/sequence>
+ * &lt;attribute name="id" use="required" type="{http://www.example.org/nffg/}ciIdType" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ciType", propOrder = {
+ "attributes"
+})
+public class CiType {
+
+ @XmlElement(required = true)
+ protected CiType.Attributes attributes;
+ @XmlAttribute(name = "id", required = true)
+ protected String id;
+
+ /**
+ * Gets the value of the attributes property.
+ * @return
+ * possible object is
+ * {@link CiType.Attributes }
+ */
+ public CiType.Attributes getAttributes() {
+ return attributes;
+ }
+
+ /**
+ * Sets the value of the attributes property.
+ * @param value
+ * allowed object is
+ * {@link CiType.Attributes }
+ */
+ public void setAttributes(CiType.Attributes value) {
+ this.attributes = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="attribute" maxOccurs="unbounded" minOccurs="0">
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "attribute"
+ })
+ public static class Attributes {
+
+ protected List<CiType.Attributes.Attribute> attribute;
+
+ /**
+ * Gets the value of the attribute property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the attribute property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getAttribute().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CiType.Attributes.Attribute }
+ */
+ public List<CiType.Attributes.Attribute> getAttribute() {
+ if (attribute == null) {
+ attribute = new ArrayList<CiType.Attributes.Attribute>();
+ }
+ return this.attribute;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Attribute {
+
+ @XmlAttribute(name = "value", required = true)
+ protected String value;
+
+ /**
+ * Gets the value of the value property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getValue() {
+ return value;
+ }
+
+ /**
+ * Sets the value of the value property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setValue(String value) {
+ this.value = value;
+ }
+
+ }
+
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CpType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CpType.java
new file mode 100644
index 0000000..4a67b79
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CpType.java
@@ -0,0 +1,86 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cpType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="cpType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="port" type="{http://www.example.org/nffg/}portType"/>
+ * &lt;/sequence>
+ * &lt;attribute name="id" use="required" type="{http://www.example.org/nffg/}cpIdType" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cpType", propOrder = {
+ "port"
+})
+public class CpType {
+
+ @XmlElement(required = true)
+ protected PortType port;
+ @XmlAttribute(name = "id", required = true)
+ protected String id;
+
+ /**
+ * Gets the value of the port property.
+ * @return
+ * possible object is
+ * {@link PortType }
+ */
+ public PortType getPort() {
+ return port;
+ }
+
+ /**
+ * Sets the value of the port property.
+ * @param value
+ * allowed object is
+ * {@link PortType }
+ */
+ public void setPort(PortType value) {
+ this.port = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CpointsType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CpointsType.java
new file mode 100644
index 0000000..4c820ed
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CpointsType.java
@@ -0,0 +1,67 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for cpointsType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="cpointsType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="connection_point" type="{http://www.example.org/nffg/}cpType" maxOccurs="unbounded"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "cpointsType", propOrder = {
+ "connectionPoint"
+})
+public class CpointsType {
+
+ @XmlElement(name = "connection_point", required = true)
+ protected List<CpType> connectionPoint;
+
+ /**
+ * Gets the value of the connectionPoint property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the connectionPoint property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getConnectionPoint().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CpType }
+ */
+ public List<CpType> getConnectionPoint() {
+ if (connectionPoint == null) {
+ connectionPoint = new ArrayList<CpType>();
+ }
+ return this.connectionPoint;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CtrlInterfacesType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CtrlInterfacesType.java
new file mode 100644
index 0000000..02ad675
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/CtrlInterfacesType.java
@@ -0,0 +1,67 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ctrlInterfacesType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="ctrlInterfacesType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="control_interface" type="{http://www.example.org/nffg/}ciType" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ctrlInterfacesType", propOrder = {
+ "controlInterface"
+})
+public class CtrlInterfacesType {
+
+ @XmlElement(name = "control_interface")
+ protected List<CiType> controlInterface;
+
+ /**
+ * Gets the value of the controlInterface property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the controlInterface property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getControlInterface().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link CiType }
+ */
+ public List<CiType> getControlInterface() {
+ if (controlInterface == null) {
+ controlInterface = new ArrayList<CiType>();
+ }
+ return this.controlInterface;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpCpType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpCpType.java
new file mode 100644
index 0000000..a9448c1
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpCpType.java
@@ -0,0 +1,89 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for ep-cpType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="ep-cpType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="flowrules" type="{http://www.example.org/nffg/}flowrulesType" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;attribute name="id_ref" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "ep-cpType", propOrder = {
+ "flowrules"
+})
+public class EpCpType {
+
+ protected List<FlowrulesType> flowrules;
+ @XmlAttribute(name = "id_ref", required = true)
+ protected String idRef;
+
+ /**
+ * Gets the value of the flowrules property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the flowrules property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getFlowrules().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link FlowrulesType }
+ */
+ public List<FlowrulesType> getFlowrules() {
+ if (flowrules == null) {
+ flowrules = new ArrayList<FlowrulesType>();
+ }
+ return this.flowrules;
+ }
+
+ /**
+ * Gets the value of the idRef property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getIdRef() {
+ return idRef;
+ }
+
+ /**
+ * Sets the value of the idRef property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setIdRef(String value) {
+ this.idRef = value;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpType.java
new file mode 100644
index 0000000..2ae875d
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpType.java
@@ -0,0 +1,260 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for epType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="epType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="flowspace">
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;group ref="{http://www.example.org/nffg/}L2HeaderParameters"/>
+ * &lt;group ref="{http://www.example.org/nffg/}L3HeaderParameters"/>
+ * &lt;group ref="{http://www.example.org/nffg/}L4HeaderParameters"/>
+ * &lt;/sequence>
+ * &lt;attribute name="nodeId" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;attribute name="ingPhysPort" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;/sequence>
+ * &lt;attribute name="id" use="required" type="{http://www.example.org/nffg/}epIdType" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "epType", propOrder = {
+ "flowspace"
+})
+public class EpType {
+
+ @XmlElement(required = true)
+ protected EpType.Flowspace flowspace;
+ @XmlAttribute(name = "id", required = true)
+ protected String id;
+
+ /**
+ * Gets the value of the flowspace property.
+ * @return
+ * possible object is
+ * {@link EpType.Flowspace }
+ */
+ public EpType.Flowspace getFlowspace() {
+ return flowspace;
+ }
+
+ /**
+ * Sets the value of the flowspace property.
+ * @param value
+ * allowed object is
+ * {@link EpType.Flowspace }
+ */
+ public void setFlowspace(EpType.Flowspace value) {
+ this.flowspace = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;group ref="{http://www.example.org/nffg/}L2HeaderParameters"/>
+ * &lt;group ref="{http://www.example.org/nffg/}L3HeaderParameters"/>
+ * &lt;group ref="{http://www.example.org/nffg/}L4HeaderParameters"/>
+ * &lt;/sequence>
+ * &lt;attribute name="nodeId" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;attribute name="ingPhysPort" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "mac",
+ "ip",
+ "tcp",
+ "udp"
+ })
+ public static class Flowspace {
+
+ protected it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Mac mac;
+ protected it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Ip ip;
+ protected it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Tcp tcp;
+ protected it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Udp udp;
+ @XmlAttribute(name = "nodeId")
+ protected String nodeId;
+ @XmlAttribute(name = "ingPhysPort")
+ protected String ingPhysPort;
+
+ /**
+ * Gets the value of the mac property.
+ * @return
+ * possible object is
+ * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Mac }
+ */
+ public it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Mac getMac() {
+ return mac;
+ }
+
+ /**
+ * Sets the value of the mac property.
+ * @param value
+ * allowed object is
+ * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Mac }
+ */
+ public void setMac(it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Mac value) {
+ this.mac = value;
+ }
+
+ /**
+ * Gets the value of the ip property.
+ * @return
+ * possible object is
+ * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Ip }
+ */
+ public it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Ip getIp() {
+ return ip;
+ }
+
+ /**
+ * Sets the value of the ip property.
+ * @param value
+ * allowed object is
+ * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Ip }
+ */
+ public void setIp(it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Ip value) {
+ this.ip = value;
+ }
+
+ /**
+ * Gets the value of the tcp property.
+ * @return
+ * possible object is
+ * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Tcp }
+ */
+ public it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Tcp getTcp() {
+ return tcp;
+ }
+
+ /**
+ * Sets the value of the tcp property.
+ * @param value
+ * allowed object is
+ * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Tcp }
+ */
+ public void setTcp(it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Tcp value) {
+ this.tcp = value;
+ }
+
+ /**
+ * Gets the value of the udp property.
+ * @return
+ * possible object is
+ * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Udp }
+ */
+ public it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Udp getUdp() {
+ return udp;
+ }
+
+ /**
+ * Sets the value of the udp property.
+ * @param value
+ * allowed object is
+ * {@link it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Udp }
+ */
+ public void setUdp(it.polito.nffg.neo4j.jaxb.FlowrulesType.Flowspace.Udp value) {
+ this.udp = value;
+ }
+
+ /**
+ * Gets the value of the nodeId property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getNodeId() {
+ return nodeId;
+ }
+
+ /**
+ * Sets the value of the nodeId property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setNodeId(String value) {
+ this.nodeId = value;
+ }
+
+ /**
+ * Gets the value of the ingPhysPort property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getIngPhysPort() {
+ return ingPhysPort;
+ }
+
+ /**
+ * Sets the value of the ingPhysPort property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setIngPhysPort(String value) {
+ this.ingPhysPort = value;
+ }
+
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpointsType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpointsType.java
new file mode 100644
index 0000000..850d8b6
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpointsType.java
@@ -0,0 +1,65 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for epointsType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="epointsType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="endpoint" type="{http://www.example.org/nffg/}epType" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "epointsType", propOrder = {
+ "endpoint"
+})
+public class EpointsType {
+
+ protected List<EpType> endpoint;
+
+ /**
+ * Gets the value of the endpoint property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the endpoint property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEndpoint().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EpType }
+ */
+ public List<EpType> getEndpoint() {
+ if (endpoint == null) {
+ endpoint = new ArrayList<EpType>();
+ }
+ return this.endpoint;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpsCpsType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpsCpsType.java
new file mode 100644
index 0000000..181085e
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/EpsCpsType.java
@@ -0,0 +1,67 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for eps-cpsType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="eps-cpsType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="ep-cp" type="{http://www.example.org/nffg/}ep-cpType" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "eps-cpsType", propOrder = {
+ "epCp"
+})
+public class EpsCpsType {
+
+ @XmlElement(name = "ep-cp")
+ protected List<EpCpType> epCp;
+
+ /**
+ * Gets the value of the epCp property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the epCp property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getEpCp().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link EpCpType }
+ */
+ public List<EpCpType> getEpCp() {
+ if (epCp == null) {
+ epCp = new ArrayList<EpCpType>();
+ }
+ return this.epCp;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/FlowrulesType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/FlowrulesType.java
new file mode 100644
index 0000000..53c8f79
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/FlowrulesType.java
@@ -0,0 +1,619 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for flowrulesType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="flowrulesType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="flowspace">
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;group ref="{http://www.example.org/nffg/}L2HeaderParameters"/>
+ * &lt;group ref="{http://www.example.org/nffg/}L3HeaderParameters"/>
+ * &lt;group ref="{http://www.example.org/nffg/}L4HeaderParameters"/>
+ * &lt;/sequence>
+ * &lt;attribute name="ingPort" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;element name="actions" type="{http://www.example.org/nffg/}actionsType"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "flowrulesType", propOrder = {
+ "flowspace",
+ "actions"
+})
+public class FlowrulesType {
+
+ @XmlElement(required = true)
+ protected FlowrulesType.Flowspace flowspace;
+ @XmlElement(required = true)
+ protected ActionsType actions;
+
+ /**
+ * Gets the value of the flowspace property.
+ * @return
+ * possible object is
+ * {@link FlowrulesType.Flowspace }
+ */
+ public FlowrulesType.Flowspace getFlowspace() {
+ return flowspace;
+ }
+
+ /**
+ * Sets the value of the flowspace property.
+ * @param value
+ * allowed object is
+ * {@link FlowrulesType.Flowspace }
+ */
+ public void setFlowspace(FlowrulesType.Flowspace value) {
+ this.flowspace = value;
+ }
+
+ /**
+ * Gets the value of the actions property.
+ * @return
+ * possible object is
+ * {@link ActionsType }
+ */
+ public ActionsType getActions() {
+ return actions;
+ }
+
+ /**
+ * Sets the value of the actions property.
+ * @param value
+ * allowed object is
+ * {@link ActionsType }
+ */
+ public void setActions(ActionsType value) {
+ this.actions = value;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;group ref="{http://www.example.org/nffg/}L2HeaderParameters"/>
+ * &lt;group ref="{http://www.example.org/nffg/}L3HeaderParameters"/>
+ * &lt;group ref="{http://www.example.org/nffg/}L4HeaderParameters"/>
+ * &lt;/sequence>
+ * &lt;attribute name="ingPort" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "", propOrder = {
+ "mac",
+ "ip",
+ "tcp",
+ "udp"
+ })
+ public static class Flowspace {
+
+ protected FlowrulesType.Flowspace.Mac mac;
+ protected FlowrulesType.Flowspace.Ip ip;
+ protected FlowrulesType.Flowspace.Tcp tcp;
+ protected FlowrulesType.Flowspace.Udp udp;
+ @XmlAttribute(name = "ingPort")
+ protected String ingPort;
+
+ /**
+ * Gets the value of the mac property.
+ * @return
+ * possible object is
+ * {@link FlowrulesType.Flowspace.Mac }
+ */
+ public FlowrulesType.Flowspace.Mac getMac() {
+ return mac;
+ }
+
+ /**
+ * Sets the value of the mac property.
+ * @param value
+ * allowed object is
+ * {@link FlowrulesType.Flowspace.Mac }
+ */
+ public void setMac(FlowrulesType.Flowspace.Mac value) {
+ this.mac = value;
+ }
+
+ /**
+ * Gets the value of the ip property.
+ * @return
+ * possible object is
+ * {@link FlowrulesType.Flowspace.Ip }
+ */
+ public FlowrulesType.Flowspace.Ip getIp() {
+ return ip;
+ }
+
+ /**
+ * Sets the value of the ip property.
+ * @param value
+ * allowed object is
+ * {@link FlowrulesType.Flowspace.Ip }
+ */
+ public void setIp(FlowrulesType.Flowspace.Ip value) {
+ this.ip = value;
+ }
+
+ /**
+ * Gets the value of the tcp property.
+ * @return
+ * possible object is
+ * {@link FlowrulesType.Flowspace.Tcp }
+ */
+ public FlowrulesType.Flowspace.Tcp getTcp() {
+ return tcp;
+ }
+
+ /**
+ * Sets the value of the tcp property.
+ * @param value
+ * allowed object is
+ * {@link FlowrulesType.Flowspace.Tcp }
+ */
+ public void setTcp(FlowrulesType.Flowspace.Tcp value) {
+ this.tcp = value;
+ }
+
+ /**
+ * Gets the value of the udp property.
+ * @return
+ * possible object is
+ * {@link FlowrulesType.Flowspace.Udp }
+ */
+ public FlowrulesType.Flowspace.Udp getUdp() {
+ return udp;
+ }
+
+ /**
+ * Sets the value of the udp property.
+ * @param value
+ * allowed object is
+ * {@link FlowrulesType.Flowspace.Udp }
+ */
+ public void setUdp(FlowrulesType.Flowspace.Udp value) {
+ this.udp = value;
+ }
+
+ /**
+ * Gets the value of the ingPort property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getIngPort() {
+ return ingPort;
+ }
+
+ /**
+ * Sets the value of the ingPort property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setIngPort(String value) {
+ this.ingPort = value;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="src" type="{http://www.example.org/net/}ipAddressType" />
+ * &lt;attribute name="dst" type="{http://www.example.org/net/}ipAddressType" />
+ * &lt;attribute name="ipProtocol" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
+ * &lt;attribute name="tos" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Ip {
+
+ @XmlAttribute(name = "src")
+ protected String src;
+ @XmlAttribute(name = "dst")
+ protected String dst;
+ @XmlAttribute(name = "ipProtocol")
+ @XmlSchemaType(name = "unsignedByte")
+ protected Short ipProtocol;
+ @XmlAttribute(name = "tos")
+ @XmlSchemaType(name = "unsignedByte")
+ protected Short tos;
+
+ /**
+ * Gets the value of the src property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getSrc() {
+ return src;
+ }
+
+ /**
+ * Sets the value of the src property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setSrc(String value) {
+ this.src = value;
+ }
+
+ /**
+ * Gets the value of the dst property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getDst() {
+ return dst;
+ }
+
+ /**
+ * Sets the value of the dst property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setDst(String value) {
+ this.dst = value;
+ }
+
+ /**
+ * Gets the value of the ipProtocol property.
+ * @return
+ * possible object is
+ * {@link Short }
+ */
+ public Short getIpProtocol() {
+ return ipProtocol;
+ }
+
+ /**
+ * Sets the value of the ipProtocol property.
+ * @param value
+ * allowed object is
+ * {@link Short }
+ */
+ public void setIpProtocol(Short value) {
+ this.ipProtocol = value;
+ }
+
+ /**
+ * Gets the value of the tos property.
+ * @return
+ * possible object is
+ * {@link Short }
+ */
+ public Short getTos() {
+ return tos;
+ }
+
+ /**
+ * Sets the value of the tos property.
+ * @param value
+ * allowed object is
+ * {@link Short }
+ */
+ public void setTos(Short value) {
+ this.tos = value;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="src" type="{http://www.example.org/net/}macAddressType" />
+ * &lt;attribute name="dst" type="{http://www.example.org/net/}macAddressType" />
+ * &lt;attribute name="ethertype" type="{http://www.example.org/net/}ethertypeType" />
+ * &lt;attribute name="vlanId" type="{http://www.example.org/net/}vlanIdType" />
+ * &lt;attribute name="vlanPcp" type="{http://www.example.org/net/}vlanPcpType" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Mac {
+
+ @XmlAttribute(name = "src")
+ protected String src;
+ @XmlAttribute(name = "dst")
+ protected String dst;
+ @XmlAttribute(name = "ethertype")
+ protected Integer ethertype;
+ @XmlAttribute(name = "vlanId")
+ protected Integer vlanId;
+ @XmlAttribute(name = "vlanPcp")
+ protected Integer vlanPcp;
+
+ /**
+ * Gets the value of the src property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getSrc() {
+ return src;
+ }
+
+ /**
+ * Sets the value of the src property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setSrc(String value) {
+ this.src = value;
+ }
+
+ /**
+ * Gets the value of the dst property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getDst() {
+ return dst;
+ }
+
+ /**
+ * Sets the value of the dst property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setDst(String value) {
+ this.dst = value;
+ }
+
+ /**
+ * Gets the value of the ethertype property.
+ * @return
+ * possible object is
+ * {@link Integer }
+ */
+ public Integer getEthertype() {
+ return ethertype;
+ }
+
+ /**
+ * Sets the value of the ethertype property.
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ */
+ public void setEthertype(Integer value) {
+ this.ethertype = value;
+ }
+
+ /**
+ * Gets the value of the vlanId property.
+ * @return
+ * possible object is
+ * {@link Integer }
+ */
+ public Integer getVlanId() {
+ return vlanId;
+ }
+
+ /**
+ * Sets the value of the vlanId property.
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ */
+ public void setVlanId(Integer value) {
+ this.vlanId = value;
+ }
+
+ /**
+ * Gets the value of the vlanPcp property.
+ * @return
+ * possible object is
+ * {@link Integer }
+ */
+ public Integer getVlanPcp() {
+ return vlanPcp;
+ }
+
+ /**
+ * Sets the value of the vlanPcp property.
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ */
+ public void setVlanPcp(Integer value) {
+ this.vlanPcp = value;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="src" type="{http://www.example.org/net/}portNumberType" />
+ * &lt;attribute name="dst" type="{http://www.example.org/net/}portNumberType" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Tcp {
+
+ @XmlAttribute(name = "src")
+ protected Integer src;
+ @XmlAttribute(name = "dst")
+ protected Integer dst;
+
+ /**
+ * Gets the value of the src property.
+ * @return
+ * possible object is
+ * {@link Integer }
+ */
+ public Integer getSrc() {
+ return src;
+ }
+
+ /**
+ * Sets the value of the src property.
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ */
+ public void setSrc(Integer value) {
+ this.src = value;
+ }
+
+ /**
+ * Gets the value of the dst property.
+ * @return
+ * possible object is
+ * {@link Integer }
+ */
+ public Integer getDst() {
+ return dst;
+ }
+
+ /**
+ * Sets the value of the dst property.
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ */
+ public void setDst(Integer value) {
+ this.dst = value;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="src" type="{http://www.example.org/net/}portNumberType" />
+ * &lt;attribute name="dst" type="{http://www.example.org/net/}portNumberType" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Udp {
+
+ @XmlAttribute(name = "src")
+ protected Integer src;
+ @XmlAttribute(name = "dst")
+ protected Integer dst;
+
+ /**
+ * Gets the value of the src property.
+ * @return
+ * possible object is
+ * {@link Integer }
+ */
+ public Integer getSrc() {
+ return src;
+ }
+
+ /**
+ * Sets the value of the src property.
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ */
+ public void setSrc(Integer value) {
+ this.src = value;
+ }
+
+ /**
+ * Gets the value of the dst property.
+ * @return
+ * possible object is
+ * {@link Integer }
+ */
+ public Integer getDst() {
+ return dst;
+ }
+
+ /**
+ * Sets the value of the dst property.
+ * @param value
+ * allowed object is
+ * {@link Integer }
+ */
+ public void setDst(Integer value) {
+ this.dst = value;
+ }
+
+ }
+
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/HttpMessage.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/HttpMessage.java
new file mode 100644
index 0000000..5dc7c29
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/HttpMessage.java
@@ -0,0 +1,108 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="statusCode" type="{http://www.w3.org/2001/XMLSchema}unsignedShort"/>
+ * &lt;element name="reasonPhrase" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="message" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "statusCode",
+ "reasonPhrase",
+ "message"
+})
+@XmlRootElement(name = "httpMessage", namespace = "http://www.example.org/response/")
+public class HttpMessage {
+
+ @XmlElement(namespace = "http://www.example.org/response/", defaultValue = "500")
+ @XmlSchemaType(name = "unsignedShort")
+ protected int statusCode;
+ @XmlElement(namespace = "http://www.example.org/response/", required = true, defaultValue = "Internal Server Error")
+ protected String reasonPhrase;
+ @XmlElement(namespace = "http://www.example.org/response/")
+ protected String message;
+
+ /**
+ * Gets the value of the statusCode property.
+ */
+ public int getStatusCode() {
+ return statusCode;
+ }
+
+ /**
+ * Sets the value of the statusCode property.
+ */
+ public void setStatusCode(int value) {
+ this.statusCode = value;
+ }
+
+ /**
+ * Gets the value of the reasonPhrase property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getReasonPhrase() {
+ return reasonPhrase;
+ }
+
+ /**
+ * Sets the value of the reasonPhrase property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setReasonPhrase(String value) {
+ this.reasonPhrase = value;
+ }
+
+ /**
+ * Gets the value of the message property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getMessage() {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setMessage(String value) {
+ this.message = value;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/MonParamsType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/MonParamsType.java
new file mode 100644
index 0000000..8651966
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/MonParamsType.java
@@ -0,0 +1,122 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for monParamsType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="monParamsType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="parameter" maxOccurs="unbounded" minOccurs="0">
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "monParamsType", propOrder = {
+ "parameter"
+})
+public class MonParamsType {
+
+ protected List<MonParamsType.Parameter> parameter;
+
+ /**
+ * Gets the value of the parameter property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the parameter property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getParameter().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link MonParamsType.Parameter }
+ */
+ public List<MonParamsType.Parameter> getParameter() {
+ if (parameter == null) {
+ parameter = new ArrayList<MonParamsType.Parameter>();
+ }
+ return this.parameter;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="value" use="required" type="{http://www.w3.org/2001/XMLSchema}NMTOKENS" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Parameter {
+
+ @XmlAttribute(name = "value", required = true)
+ @XmlSchemaType(name = "NMTOKENS")
+ protected List<String> value;
+
+ /**
+ * Gets the value of the value property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the value property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getValue().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ */
+ public List<String> getValue() {
+ if (value == null) {
+ value = new ArrayList<String>();
+ }
+ return this.value;
+ }
+
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NeType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NeType.java
new file mode 100644
index 0000000..9cdecdd
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NeType.java
@@ -0,0 +1,133 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for neType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="neType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="eps-cps" type="{http://www.example.org/nffg/}eps-cpsType"/>
+ * &lt;element name="monitoring_parameters" type="{http://www.example.org/nffg/}monParamsType"/>
+ * &lt;/sequence>
+ * &lt;attribute name="id" use="required" type="{http://www.example.org/nffg/}neIdType" />
+ * &lt;attribute name="type" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "neType", propOrder = {
+ "epsCps",
+ "monitoringParameters"
+})
+public class NeType {
+
+ @XmlElement(name = "eps-cps", required = true)
+ protected EpsCpsType epsCps;
+ @XmlElement(name = "monitoring_parameters", required = true)
+ protected MonParamsType monitoringParameters;
+ @XmlAttribute(name = "id", required = true)
+ protected String id;
+ @XmlAttribute(name = "type", required = true)
+ protected String type;
+
+ /**
+ * Gets the value of the epsCps property.
+ * @return
+ * possible object is
+ * {@link EpsCpsType }
+ */
+ public EpsCpsType getEpsCps() {
+ return epsCps;
+ }
+
+ /**
+ * Sets the value of the epsCps property.
+ * @param value
+ * allowed object is
+ * {@link EpsCpsType }
+ */
+ public void setEpsCps(EpsCpsType value) {
+ this.epsCps = value;
+ }
+
+ /**
+ * Gets the value of the monitoringParameters property.
+ * @return
+ * possible object is
+ * {@link MonParamsType }
+ */
+ public MonParamsType getMonitoringParameters() {
+ return monitoringParameters;
+ }
+
+ /**
+ * Sets the value of the monitoringParameters property.
+ * @param value
+ * allowed object is
+ * {@link MonParamsType }
+ */
+ public void setMonitoringParameters(MonParamsType value) {
+ this.monitoringParameters = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getType() {
+ return type;
+ }
+
+ /**
+ * Sets the value of the type property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NelementsType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NelementsType.java
new file mode 100644
index 0000000..0ccef60
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NelementsType.java
@@ -0,0 +1,67 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for nelementsType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="nelementsType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="network_element" type="{http://www.example.org/nffg/}neType" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "nelementsType", propOrder = {
+ "networkElement"
+})
+public class NelementsType {
+
+ @XmlElement(name = "network_element")
+ protected List<NeType> networkElement;
+
+ /**
+ * Gets the value of the networkElement property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the networkElement property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNetworkElement().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link NeType }
+ */
+ public List<NeType> getNetworkElement() {
+ if (networkElement == null) {
+ networkElement = new ArrayList<NeType>();
+ }
+ return this.networkElement;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NfType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NfType.java
new file mode 100644
index 0000000..f2b50ea
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NfType.java
@@ -0,0 +1,181 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for nfType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="nfType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="specification" type="{http://www.example.org/nffg/}specType"/>
+ * &lt;element name="connection_points" type="{http://www.example.org/nffg/}cpointsType"/>
+ * &lt;element name="control_interfaces" type="{http://www.example.org/nffg/}ctrlInterfacesType"/>
+ * &lt;element name="monitoring_parameters" type="{http://www.example.org/nffg/}monParamsType"/>
+ * &lt;/sequence>
+ * &lt;attribute name="id" use="required" type="{http://www.example.org/nffg/}nfIdType" />
+ * &lt;attribute name="functionalType" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "nfType", propOrder = {
+ "specification",
+ "connectionPoints",
+ "controlInterfaces",
+ "monitoringParameters"
+})
+public class NfType {
+
+ @XmlElement(required = true)
+ protected SpecType specification;
+ @XmlElement(name = "connection_points", required = true)
+ protected CpointsType connectionPoints;
+ @XmlElement(name = "control_interfaces", required = true)
+ protected CtrlInterfacesType controlInterfaces;
+ @XmlElement(name = "monitoring_parameters", required = true)
+ protected MonParamsType monitoringParameters;
+ @XmlAttribute(name = "id", required = true)
+ protected String id;
+ @XmlAttribute(name = "functionalType", required = true)
+ protected String functionalType;
+
+ /**
+ * Gets the value of the specification property.
+ * @return
+ * possible object is
+ * {@link SpecType }
+ */
+ public SpecType getSpecification() {
+ return specification;
+ }
+
+ /**
+ * Sets the value of the specification property.
+ * @param value
+ * allowed object is
+ * {@link SpecType }
+ */
+ public void setSpecification(SpecType value) {
+ this.specification = value;
+ }
+
+ /**
+ * Gets the value of the connectionPoints property.
+ * @return
+ * possible object is
+ * {@link CpointsType }
+ */
+ public CpointsType getConnectionPoints() {
+ return connectionPoints;
+ }
+
+ /**
+ * Sets the value of the connectionPoints property.
+ * @param value
+ * allowed object is
+ * {@link CpointsType }
+ */
+ public void setConnectionPoints(CpointsType value) {
+ this.connectionPoints = value;
+ }
+
+ /**
+ * Gets the value of the controlInterfaces property.
+ * @return
+ * possible object is
+ * {@link CtrlInterfacesType }
+ */
+ public CtrlInterfacesType getControlInterfaces() {
+ return controlInterfaces;
+ }
+
+ /**
+ * Sets the value of the controlInterfaces property.
+ * @param value
+ * allowed object is
+ * {@link CtrlInterfacesType }
+ */
+ public void setControlInterfaces(CtrlInterfacesType value) {
+ this.controlInterfaces = value;
+ }
+
+ /**
+ * Gets the value of the monitoringParameters property.
+ * @return
+ * possible object is
+ * {@link MonParamsType }
+ */
+ public MonParamsType getMonitoringParameters() {
+ return monitoringParameters;
+ }
+
+ /**
+ * Sets the value of the monitoringParameters property.
+ * @param value
+ * allowed object is
+ * {@link MonParamsType }
+ */
+ public void setMonitoringParameters(MonParamsType value) {
+ this.monitoringParameters = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the functionalType property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getFunctionalType() {
+ return functionalType;
+ }
+
+ /**
+ * Sets the value of the functionalType property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setFunctionalType(String value) {
+ this.functionalType = value;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/Nffg.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/Nffg.java
new file mode 100644
index 0000000..54e6daf
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/Nffg.java
@@ -0,0 +1,183 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="endpoints" type="{http://www.example.org/nffg/}epointsType"/>
+ * &lt;element name="network_functions" type="{http://www.example.org/nffg/}nfunctionsType"/>
+ * &lt;element name="network_elements" type="{http://www.example.org/nffg/}nelementsType"/>
+ * &lt;element name="monitoring_parameters" type="{http://www.example.org/nffg/}monParamsType"/>
+ * &lt;/sequence>
+ * &lt;attribute name="id" type="{http://www.example.org/nffg/}nffgIdType" />
+ * &lt;attribute name="version" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "endpoints",
+ "networkFunctions",
+ "networkElements",
+ "monitoringParameters"
+})
+@XmlRootElement(name = "nffg")
+public class Nffg {
+
+ @XmlElement(required = true)
+ protected EpointsType endpoints;
+ @XmlElement(name = "network_functions", required = true)
+ protected NfunctionsType networkFunctions;
+ @XmlElement(name = "network_elements", required = true)
+ protected NelementsType networkElements;
+ @XmlElement(name = "monitoring_parameters", required = true)
+ protected MonParamsType monitoringParameters;
+ @XmlAttribute(name = "id")
+ protected String id;
+ @XmlAttribute(name = "version")
+ protected String version;
+
+ /**
+ * Gets the value of the endpoints property.
+ * @return
+ * possible object is
+ * {@link EpointsType }
+ */
+ public EpointsType getEndpoints() {
+ return endpoints;
+ }
+
+ /**
+ * Sets the value of the endpoints property.
+ * @param value
+ * allowed object is
+ * {@link EpointsType }
+ */
+ public void setEndpoints(EpointsType value) {
+ this.endpoints = value;
+ }
+
+ /**
+ * Gets the value of the networkFunctions property.
+ * @return
+ * possible object is
+ * {@link NfunctionsType }
+ */
+ public NfunctionsType getNetworkFunctions() {
+ return networkFunctions;
+ }
+
+ /**
+ * Sets the value of the networkFunctions property.
+ * @param value
+ * allowed object is
+ * {@link NfunctionsType }
+ */
+ public void setNetworkFunctions(NfunctionsType value) {
+ this.networkFunctions = value;
+ }
+
+ /**
+ * Gets the value of the networkElements property.
+ * @return
+ * possible object is
+ * {@link NelementsType }
+ */
+ public NelementsType getNetworkElements() {
+ return networkElements;
+ }
+
+ /**
+ * Sets the value of the networkElements property.
+ * @param value
+ * allowed object is
+ * {@link NelementsType }
+ */
+ public void setNetworkElements(NelementsType value) {
+ this.networkElements = value;
+ }
+
+ /**
+ * Gets the value of the monitoringParameters property.
+ * @return
+ * possible object is
+ * {@link MonParamsType }
+ */
+ public MonParamsType getMonitoringParameters() {
+ return monitoringParameters;
+ }
+
+ /**
+ * Sets the value of the monitoringParameters property.
+ * @param value
+ * allowed object is
+ * {@link MonParamsType }
+ */
+ public void setMonitoringParameters(MonParamsType value) {
+ this.monitoringParameters = value;
+ }
+
+ /**
+ * Gets the value of the id property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setId(String value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the version property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getVersion() {
+ return version;
+ }
+
+ /**
+ * Sets the value of the version property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setVersion(String value) {
+ this.version = value;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NffgSet.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NffgSet.java
new file mode 100644
index 0000000..8fdc137
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NffgSet.java
@@ -0,0 +1,69 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element ref="{http://www.example.org/nffg/}nffg" maxOccurs="unbounded"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "nffg"
+})
+@XmlRootElement(name = "nffg-set")
+public class NffgSet {
+
+ @XmlElement(required = true)
+ protected List<Nffg> nffg;
+
+ /**
+ * Gets the value of the nffg property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the nffg property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNffg().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link Nffg }
+ */
+ public List<Nffg> getNffg() {
+ if (nffg == null) {
+ nffg = new ArrayList<Nffg>();
+ }
+ return this.nffg;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NfunctionsType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NfunctionsType.java
new file mode 100644
index 0000000..7b26ac3
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/NfunctionsType.java
@@ -0,0 +1,67 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for nfunctionsType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="nfunctionsType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="network_function" type="{http://www.example.org/nffg/}nfType" maxOccurs="unbounded" minOccurs="0"/>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "nfunctionsType", propOrder = {
+ "networkFunction"
+})
+public class NfunctionsType {
+
+ @XmlElement(name = "network_function")
+ protected List<NfType> networkFunction;
+
+ /**
+ * Gets the value of the networkFunction property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the networkFunction property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getNetworkFunction().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link NfType }
+ */
+ public List<NfType> getNetworkFunction() {
+ if (networkFunction == null) {
+ networkFunction = new ArrayList<NfType>();
+ }
+ return this.networkFunction;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ObjectFactory.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ObjectFactory.java
new file mode 100644
index 0000000..1c7c7f5
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/ObjectFactory.java
@@ -0,0 +1,319 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.JAXBElement;
+import javax.xml.bind.annotation.XmlElementDecl;
+import javax.xml.bind.annotation.XmlRegistry;
+import javax.xml.namespace.QName;
+
+
+/**
+ * This object contains factory methods for each
+ * Java content interface and Java element interface
+ * generated in the it.polito.nffg.neo4j.jaxb package.
+ * <p>An ObjectFactory allows you to programatically
+ * construct new instances of the Java representation
+ * for XML content. The Java representation of XML
+ * content can consist of schema derived interfaces
+ * and classes representing the binding of schema
+ * type definitions, element declarations and model
+ * groups. Factory methods for each of these are
+ * provided in this class.
+ */
+@XmlRegistry
+public class ObjectFactory {
+
+ private final static QName _Nffg_QNAME = new QName("http://www.example.org/nffg/", "nffg");
+ private final static QName _NffgSet_QNAME = new QName("http://www.example.org/nffg/", "nffg-set");
+
+
+ /**
+ * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: it.polito.nffg.neo4j.jaxb
+ */
+ public ObjectFactory() {
+ }
+
+ /**
+ * Create an instance of {@link FlowrulesType }
+ */
+ public FlowrulesType createFlowrulesType() {
+ return new FlowrulesType();
+ }
+
+ /**
+ * Create an instance of {@link FlowrulesType.Flowspace }
+ */
+ public FlowrulesType.Flowspace createFlowrulesTypeFlowspace() {
+ return new FlowrulesType.Flowspace();
+ }
+
+ /**
+ * Create an instance of {@link CiType }
+ */
+ public CiType createCiType() {
+ return new CiType();
+ }
+
+ /**
+ * Create an instance of {@link CiType.Attributes }
+ */
+ public CiType.Attributes createCiTypeAttributes() {
+ return new CiType.Attributes();
+ }
+
+ /**
+ * Create an instance of {@link EpType }
+ */
+ public EpType createEpType() {
+ return new EpType();
+ }
+
+ /**
+ * Create an instance of {@link SpecType }
+ */
+ public SpecType createSpecType() {
+ return new SpecType();
+ }
+
+ /**
+ * Create an instance of {@link MonParamsType }
+ */
+ public MonParamsType createMonParamsType() {
+ return new MonParamsType();
+ }
+
+ /**
+ * Create an instance of {@link NffgSet }
+ */
+ public NffgSet createNffgSet() {
+ return new NffgSet();
+ }
+
+ /**
+ * Create an instance of {@link Nffg }
+ */
+ public Nffg createNffg() {
+ return new Nffg();
+ }
+
+ /**
+ * Create an instance of {@link EpointsType }
+ */
+ public EpointsType createEpointsType() {
+ return new EpointsType();
+ }
+
+ /**
+ * Create an instance of {@link NfunctionsType }
+ */
+ public NfunctionsType createNfunctionsType() {
+ return new NfunctionsType();
+ }
+
+ /**
+ * Create an instance of {@link NelementsType }
+ */
+ public NelementsType createNelementsType() {
+ return new NelementsType();
+ }
+
+ /**
+ * Create an instance of {@link CpointsType }
+ */
+ public CpointsType createCpointsType() {
+ return new CpointsType();
+ }
+
+ /**
+ * Create an instance of {@link NfType }
+ */
+ public NfType createNfType() {
+ return new NfType();
+ }
+
+ /**
+ * Create an instance of {@link EpCpType }
+ */
+ public EpCpType createEpCpType() {
+ return new EpCpType();
+ }
+
+ /**
+ * Create an instance of {@link EpsCpsType }
+ */
+ public EpsCpsType createEpsCpsType() {
+ return new EpsCpsType();
+ }
+
+ /**
+ * Create an instance of {@link ActionsType }
+ */
+ public ActionsType createActionsType() {
+ return new ActionsType();
+ }
+
+ /**
+ * Create an instance of {@link ActionType }
+ */
+ public ActionType createActionType() {
+ return new ActionType();
+ }
+
+ /**
+ * Create an instance of {@link PortType }
+ */
+ public PortType createPortType() {
+ return new PortType();
+ }
+
+ /**
+ * Create an instance of {@link CpType }
+ */
+ public CpType createCpType() {
+ return new CpType();
+ }
+
+ /**
+ * Create an instance of {@link CtrlInterfacesType }
+ */
+ public CtrlInterfacesType createCtrlInterfacesType() {
+ return new CtrlInterfacesType();
+ }
+
+ /**
+ * Create an instance of {@link NeType }
+ */
+ public NeType createNeType() {
+ return new NeType();
+ }
+
+ /**
+ * Create an instance of {@link Paths }
+ */
+ public Paths createPaths() {
+ return new Paths();
+ }
+
+ /**
+ * Create an instance of {@link HttpMessage }
+ */
+ public HttpMessage createHttpMessage() {
+ return new HttpMessage();
+ }
+
+ /**
+ * Create an instance of {@link Property }
+ */
+ public Property createProperty() {
+ return new Property();
+ }
+
+ /**
+ * Create an instance of {@link FlowrulesType.Flowspace.Mac }
+ */
+ public FlowrulesType.Flowspace.Mac createFlowrulesTypeFlowspaceMac() {
+ return new FlowrulesType.Flowspace.Mac();
+ }
+
+ /**
+ * Create an instance of {@link FlowrulesType.Flowspace.Ip }
+ */
+ public FlowrulesType.Flowspace.Ip createFlowrulesTypeFlowspaceIp() {
+ return new FlowrulesType.Flowspace.Ip();
+ }
+
+ /**
+ * Create an instance of {@link FlowrulesType.Flowspace.Tcp }
+ */
+ public FlowrulesType.Flowspace.Tcp createFlowrulesTypeFlowspaceTcp() {
+ return new FlowrulesType.Flowspace.Tcp();
+ }
+
+ /**
+ * Create an instance of {@link FlowrulesType.Flowspace.Udp }
+ */
+ public FlowrulesType.Flowspace.Udp createFlowrulesTypeFlowspaceUdp() {
+ return new FlowrulesType.Flowspace.Udp();
+ }
+
+ /**
+ * Create an instance of {@link CiType.Attributes.Attribute }
+ */
+ public CiType.Attributes.Attribute createCiTypeAttributesAttribute() {
+ return new CiType.Attributes.Attribute();
+ }
+
+ /**
+ * Create an instance of {@link EpType.Flowspace }
+ */
+ public EpType.Flowspace createEpTypeFlowspace() {
+ return new EpType.Flowspace();
+ }
+
+ /**
+ * Create an instance of {@link SpecType.Deployment }
+ */
+ public SpecType.Deployment createSpecTypeDeployment() {
+ return new SpecType.Deployment();
+ }
+
+ /**
+ * Create an instance of {@link SpecType.Image }
+ */
+ public SpecType.Image createSpecTypeImage() {
+ return new SpecType.Image();
+ }
+
+ /**
+ * Create an instance of {@link SpecType.Cpu }
+ */
+ public SpecType.Cpu createSpecTypeCpu() {
+ return new SpecType.Cpu();
+ }
+
+ /**
+ * Create an instance of {@link SpecType.Memory }
+ */
+ public SpecType.Memory createSpecTypeMemory() {
+ return new SpecType.Memory();
+ }
+
+ /**
+ * Create an instance of {@link SpecType.Storage }
+ */
+ public SpecType.Storage createSpecTypeStorage() {
+ return new SpecType.Storage();
+ }
+
+ /**
+ * Create an instance of {@link MonParamsType.Parameter }
+ */
+ public MonParamsType.Parameter createMonParamsTypeParameter() {
+ return new MonParamsType.Parameter();
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link NffgType }{@code >}}
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/nffg/", name = "nffg")
+ public JAXBElement<Nffg> createNffg(Nffg value) {
+ return new JAXBElement<Nffg>(_Nffg_QNAME, Nffg.class, null, value);
+ }
+
+ /**
+ * Create an instance of {@link JAXBElement }{@code <}{@link NffgSetType }{@code >}}
+ */
+ @XmlElementDecl(namespace = "http://www.example.org/nffg/", name = "nffg-set")
+ public JAXBElement<NffgSet> createNffgSet(NffgSet value) {
+ return new JAXBElement<NffgSet>(_NffgSet_QNAME, NffgSet.class, null, value);
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/Paths.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/Paths.java
new file mode 100644
index 0000000..f097b30
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/Paths.java
@@ -0,0 +1,163 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import java.util.ArrayList;
+import java.util.List;
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;choice>
+ * &lt;element name="message" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="path" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded"/>
+ * &lt;/choice>
+ * &lt;attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;attribute name="destination" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;attribute name="direction" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "message",
+ "path"
+})
+@XmlRootElement(name = "paths", namespace = "http://www.example.org/response/")
+public class Paths {
+
+ @XmlElement(namespace = "http://www.example.org/response/")
+ protected String message;
+ @XmlElement(namespace = "http://www.example.org/response/")
+ protected List<String> path;
+ @XmlAttribute(name = "source")
+ protected String source;
+ @XmlAttribute(name = "destination")
+ protected String destination;
+ @XmlAttribute(name = "direction")
+ protected String direction;
+
+ /**
+ * Gets the value of the message property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getMessage() {
+ return message;
+ }
+
+ /**
+ * Sets the value of the message property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setMessage(String value) {
+ this.message = value;
+ }
+
+ /**
+ * Gets the value of the path property.
+ * <p>
+ * This accessor method returns a reference to the live list,
+ * not a snapshot. Therefore any modification you make to the
+ * returned list will be present inside the JAXB object.
+ * This is why there is not a <CODE>set</CODE> method for the path property.
+ * <p>
+ * For example, to add a new item, do as follows:
+ * <pre>
+ * getPath().add(newItem);
+ * </pre>
+ * <p>
+ * Objects of the following type(s) are allowed in the list
+ * {@link String }
+ */
+ public List<String> getPath() {
+ if (path == null) {
+ path = new ArrayList<String>();
+ }
+ return this.path;
+ }
+
+ /**
+ * Gets the value of the source property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the destination property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getDestination() {
+ return destination;
+ }
+
+ /**
+ * Sets the value of the destination property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setDestination(String value) {
+ this.destination = value;
+ }
+
+ /**
+ * Gets the value of the direction property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getDirection() {
+ return direction;
+ }
+
+ /**
+ * Sets the value of the direction property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setDirection(String value) {
+ this.direction = value;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/PortDirEnumType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/PortDirEnumType.java
new file mode 100644
index 0000000..f98907d
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/PortDirEnumType.java
@@ -0,0 +1,60 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlEnum;
+import javax.xml.bind.annotation.XmlEnumValue;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for portDirEnumType.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <p>
+ * <pre>
+ * &lt;simpleType name="portDirEnumType">
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
+ * &lt;enumeration value="in"/>
+ * &lt;enumeration value="out"/>
+ * &lt;enumeration value="both"/>
+ * &lt;/restriction>
+ * &lt;/simpleType>
+ * </pre>
+ */
+@XmlType(name = "portDirEnumType")
+@XmlEnum
+public enum PortDirEnumType {
+
+ @XmlEnumValue("in")
+ IN("in"),
+ @XmlEnumValue("out")
+ OUT("out"),
+ @XmlEnumValue("both")
+ BOTH("both");
+ private final String value;
+
+ PortDirEnumType(String v) {
+ value = v;
+ }
+
+ public String value() {
+ return value;
+ }
+
+ public static PortDirEnumType fromValue(String v) {
+ for (PortDirEnumType c: PortDirEnumType.values()) {
+ if (c.value.equals(v)) {
+ return c;
+ }
+ }
+ throw new IllegalArgumentException(v);
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/PortType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/PortType.java
new file mode 100644
index 0000000..4d44cf5
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/PortType.java
@@ -0,0 +1,104 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for portType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="portType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="id" use="required" type="{http://www.w3.org/2001/XMLSchema}unsignedShort" />
+ * &lt;attribute name="direction" use="required" type="{http://www.example.org/nffg/}portDirEnumType" />
+ * &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "portType")
+public class PortType {
+
+ @XmlAttribute(name = "id", required = true)
+ @XmlSchemaType(name = "unsignedShort")
+ protected int id;
+ @XmlAttribute(name = "direction", required = true)
+ protected PortDirEnumType direction;
+ @XmlAttribute(name = "type")
+ protected String type;
+
+ /**
+ * Gets the value of the id property.
+ */
+ public int getId() {
+ return id;
+ }
+
+ /**
+ * Sets the value of the id property.
+ */
+ public void setId(int value) {
+ this.id = value;
+ }
+
+ /**
+ * Gets the value of the direction property.
+ * @return
+ * possible object is
+ * {@link PortDirEnumType }
+ */
+ public PortDirEnumType getDirection() {
+ return direction;
+ }
+
+ /**
+ * Sets the value of the direction property.
+ * @param value
+ * allowed object is
+ * {@link PortDirEnumType }
+ */
+ public void setDirection(PortDirEnumType value) {
+ this.direction = value;
+ }
+
+ /**
+ * Gets the value of the type property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getType() {
+ if (type == null) {
+ return "N.A.";
+ } else {
+ return type;
+ }
+ }
+
+ /**
+ * Sets the value of the type property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/Property.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/Property.java
new file mode 100644
index 0000000..973eaf8
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/Property.java
@@ -0,0 +1,152 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlRootElement;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
+ * &lt;element name="response" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
+ * &lt;/sequence>
+ * &lt;attribute name="source" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;attribute name="destination" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;attribute name="direction" type="{http://www.w3.org/2001/XMLSchema}string" />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+ "name",
+ "response"
+})
+@XmlRootElement(name = "property", namespace = "http://www.example.org/response/")
+public class Property {
+
+ @XmlElement(namespace = "http://www.example.org/response/", required = true)
+ protected String name;
+ @XmlElement(namespace = "http://www.example.org/response/")
+ protected boolean response;
+ @XmlAttribute(name = "source")
+ protected String source;
+ @XmlAttribute(name = "destination")
+ protected String destination;
+ @XmlAttribute(name = "direction")
+ protected String direction;
+
+ /**
+ * Gets the value of the name property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getName() {
+ return name;
+ }
+
+ /**
+ * Sets the value of the name property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ /**
+ * Gets the value of the response property.
+ */
+ public boolean isResponse() {
+ return response;
+ }
+
+ /**
+ * Sets the value of the response property.
+ */
+ public void setResponse(boolean value) {
+ this.response = value;
+ }
+
+ /**
+ * Gets the value of the source property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getSource() {
+ return source;
+ }
+
+ /**
+ * Sets the value of the source property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setSource(String value) {
+ this.source = value;
+ }
+
+ /**
+ * Gets the value of the destination property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getDestination() {
+ return destination;
+ }
+
+ /**
+ * Sets the value of the destination property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setDestination(String value) {
+ this.destination = value;
+ }
+
+ /**
+ * Gets the value of the direction property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getDirection() {
+ return direction;
+ }
+
+ /**
+ * Sets the value of the direction property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setDirection(String value) {
+ this.direction = value;
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/SpecType.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/SpecType.java
new file mode 100644
index 0000000..e4d434b
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/SpecType.java
@@ -0,0 +1,577 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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.nffg.neo4j.jaxb;
+
+import javax.xml.bind.annotation.XmlAccessType;
+import javax.xml.bind.annotation.XmlAccessorType;
+import javax.xml.bind.annotation.XmlAttribute;
+import javax.xml.bind.annotation.XmlElement;
+import javax.xml.bind.annotation.XmlSchemaType;
+import javax.xml.bind.annotation.XmlType;
+
+
+/**
+ * <p>Java class for specType complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType name="specType">
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;sequence>
+ * &lt;element name="deployment">
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;element name="image">
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" default="N.A." />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;element name="cpu">
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="model" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;attribute name="architecture" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;attribute name="numCores" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" default="1" />
+ * &lt;attribute name="clockSpeed" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;element name="memory">
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;attribute name="size" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;element name="storage">
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;attribute name="size" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * &lt;/element>
+ * &lt;/sequence>
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "specType", propOrder = {
+ "deployment",
+ "image",
+ "cpu",
+ "memory",
+ "storage"
+})
+public class SpecType {
+
+ @XmlElement(required = true)
+ protected SpecType.Deployment deployment;
+ @XmlElement(required = true)
+ protected SpecType.Image image;
+ @XmlElement(required = true)
+ protected SpecType.Cpu cpu;
+ @XmlElement(required = true)
+ protected SpecType.Memory memory;
+ @XmlElement(required = true)
+ protected SpecType.Storage storage;
+
+ /**
+ * Gets the value of the deployment property.
+ * @return
+ * possible object is
+ * {@link SpecType.Deployment }
+ */
+ public SpecType.Deployment getDeployment() {
+ return deployment;
+ }
+
+ /**
+ * Sets the value of the deployment property.
+ * @param value
+ * allowed object is
+ * {@link SpecType.Deployment }
+ */
+ public void setDeployment(SpecType.Deployment value) {
+ this.deployment = value;
+ }
+
+ /**
+ * Gets the value of the image property.
+ * @return
+ * possible object is
+ * {@link SpecType.Image }
+ */
+ public SpecType.Image getImage() {
+ return image;
+ }
+
+ /**
+ * Sets the value of the image property.
+ * @param value
+ * allowed object is
+ * {@link SpecType.Image }
+ */
+ public void setImage(SpecType.Image value) {
+ this.image = value;
+ }
+
+ /**
+ * Gets the value of the cpu property.
+ * @return
+ * possible object is
+ * {@link SpecType.Cpu }
+ */
+ public SpecType.Cpu getCpu() {
+ return cpu;
+ }
+
+ /**
+ * Sets the value of the cpu property.
+ * @param value
+ * allowed object is
+ * {@link SpecType.Cpu }
+ */
+ public void setCpu(SpecType.Cpu value) {
+ this.cpu = value;
+ }
+
+ /**
+ * Gets the value of the memory property.
+ * @return
+ * possible object is
+ * {@link SpecType.Memory }
+ */
+ public SpecType.Memory getMemory() {
+ return memory;
+ }
+
+ /**
+ * Sets the value of the memory property.
+ * @param value
+ * allowed object is
+ * {@link SpecType.Memory }
+ */
+ public void setMemory(SpecType.Memory value) {
+ this.memory = value;
+ }
+
+ /**
+ * Gets the value of the storage property.
+ * @return
+ * possible object is
+ * {@link SpecType.Storage }
+ */
+ public SpecType.Storage getStorage() {
+ return storage;
+ }
+
+ /**
+ * Sets the value of the storage property.
+ * @param value
+ * allowed object is
+ * {@link SpecType.Storage }
+ */
+ public void setStorage(SpecType.Storage value) {
+ this.storage = value;
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="model" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;attribute name="architecture" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;attribute name="numCores" type="{http://www.w3.org/2001/XMLSchema}unsignedByte" default="1" />
+ * &lt;attribute name="clockSpeed" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Cpu {
+
+ @XmlAttribute(name = "model")
+ protected String model;
+ @XmlAttribute(name = "architecture")
+ protected String architecture;
+ @XmlAttribute(name = "numCores")
+ @XmlSchemaType(name = "unsignedByte")
+ protected Short numCores;
+ @XmlAttribute(name = "clockSpeed")
+ protected String clockSpeed;
+
+ /**
+ * Gets the value of the model property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getModel() {
+ if (model == null) {
+ return "N.A.";
+ } else {
+ return model;
+ }
+ }
+
+ /**
+ * Sets the value of the model property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setModel(String value) {
+ this.model = value;
+ }
+
+ /**
+ * Gets the value of the architecture property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getArchitecture() {
+ if (architecture == null) {
+ return "N.A.";
+ } else {
+ return architecture;
+ }
+ }
+
+ /**
+ * Sets the value of the architecture property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setArchitecture(String value) {
+ this.architecture = value;
+ }
+
+ /**
+ * Gets the value of the numCores property.
+ * @return
+ * possible object is
+ * {@link Short }
+ */
+ public short getNumCores() {
+ if (numCores == null) {
+ return ((short) 1);
+ } else {
+ return numCores;
+ }
+ }
+
+ /**
+ * Sets the value of the numCores property.
+ * @param value
+ * allowed object is
+ * {@link Short }
+ */
+ public void setNumCores(Short value) {
+ this.numCores = value;
+ }
+
+ /**
+ * Gets the value of the clockSpeed property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getClockSpeed() {
+ if (clockSpeed == null) {
+ return "N.A.";
+ } else {
+ return clockSpeed;
+ }
+ }
+
+ /**
+ * Sets the value of the clockSpeed property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setClockSpeed(String value) {
+ this.clockSpeed = value;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Deployment {
+
+ @XmlAttribute(name = "type")
+ protected String type;
+
+ /**
+ * Gets the value of the type property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getType() {
+ if (type == null) {
+ return "N.A.";
+ } else {
+ return type;
+ }
+ }
+
+ /**
+ * Sets the value of the type property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="uri" type="{http://www.w3.org/2001/XMLSchema}anyURI" default="N.A." />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Image {
+
+ @XmlAttribute(name = "uri")
+ @XmlSchemaType(name = "anyURI")
+ protected String uri;
+
+ /**
+ * Gets the value of the uri property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getUri() {
+ if (uri == null) {
+ return "N.A.";
+ } else {
+ return uri;
+ }
+ }
+
+ /**
+ * Sets the value of the uri property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setUri(String value) {
+ this.uri = value;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;attribute name="size" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Memory {
+
+ @XmlAttribute(name = "type")
+ protected String type;
+ @XmlAttribute(name = "size")
+ protected String size;
+
+ /**
+ * Gets the value of the type property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getType() {
+ if (type == null) {
+ return "N.A.";
+ } else {
+ return type;
+ }
+ }
+
+ /**
+ * Sets the value of the type property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the size property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getSize() {
+ if (size == null) {
+ return "N.A.";
+ } else {
+ return size;
+ }
+ }
+
+ /**
+ * Sets the value of the size property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setSize(String value) {
+ this.size = value;
+ }
+
+ }
+
+
+ /**
+ * <p>Java class for anonymous complex type.
+ * <p>The following schema fragment specifies the expected content contained within this class.
+ * <pre>
+ * &lt;complexType>
+ * &lt;complexContent>
+ * &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
+ * &lt;attribute name="type" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;attribute name="size" type="{http://www.w3.org/2001/XMLSchema}string" default="N.A." />
+ * &lt;/restriction>
+ * &lt;/complexContent>
+ * &lt;/complexType>
+ * </pre>
+ */
+ @XmlAccessorType(XmlAccessType.FIELD)
+ @XmlType(name = "")
+ public static class Storage {
+
+ @XmlAttribute(name = "type")
+ protected String type;
+ @XmlAttribute(name = "size")
+ protected String size;
+
+ /**
+ * Gets the value of the type property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getType() {
+ if (type == null) {
+ return "N.A.";
+ } else {
+ return type;
+ }
+ }
+
+ /**
+ * Sets the value of the type property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setType(String value) {
+ this.type = value;
+ }
+
+ /**
+ * Gets the value of the size property.
+ * @return
+ * possible object is
+ * {@link String }
+ */
+ public String getSize() {
+ if (size == null) {
+ return "N.A.";
+ } else {
+ return size;
+ }
+ }
+
+ /**
+ * Sets the value of the size property.
+ * @param value
+ * allowed object is
+ * {@link String }
+ */
+ public void setSize(String value) {
+ this.size = value;
+ }
+
+ }
+
+}
diff --git a/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/package-info.java b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/package-info.java
new file mode 100644
index 0000000..3d3c7b4
--- /dev/null
+++ b/verigraph/src/main/java/it/polito/nffg/neo4j/jaxb/package-info.java
@@ -0,0 +1,11 @@
+/*******************************************************************************
+ * Copyright (c) 2017 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
+ *******************************************************************************/
+
+@javax.xml.bind.annotation.XmlSchema(namespace = "http://www.example.org/nffg/", elementFormDefault = javax.xml.bind.annotation.XmlNsForm.QUALIFIED)
+package it.polito.nffg.neo4j.jaxb;