Update utility to test device connections
[openflowjava.git] / openflowjava-tools / src / main / java / org / opendaylight / openflowjava / tools / Configurations.java
diff --git a/openflowjava-tools/src/main/java/org/opendaylight/openflowjava/tools/Configurations.java b/openflowjava-tools/src/main/java/org/opendaylight/openflowjava/tools/Configurations.java
new file mode 100644 (file)
index 0000000..5f284e5
--- /dev/null
@@ -0,0 +1,58 @@
+
+package org.opendaylight.openflowjava.tools;
+
+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.
+ */
+@XmlAccessorType(XmlAccessType.FIELD)
+@XmlType(name = "", propOrder = {
+    "configuration"
+})
+@XmlRootElement(name = "configurations")
+public class Configurations {
+
+    @XmlElement(required = true)
+    private List<ConfigurationType> configuration;
+
+    /**
+     * Gets the value of the configuration 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 configuration property.
+     * 
+     * <p>
+     * For example, to add a new item, do as follows:
+     * <pre>
+     *    getConfiguration().add(newItem);
+     * </pre>
+     * 
+     * 
+     * <p>
+     * Objects of the following type(s) are allowed in the list
+     * {@link ConfigurationType }
+     * 
+     * 
+     */
+    public List<ConfigurationType> getConfiguration() {
+        if (configuration == null) {
+            configuration = new ArrayList<>();
+        }
+        return this.configuration;
+    }
+
+    public void setConfiguration(List<ConfigurationType> configuration) {
+        this.configuration = configuration;
+    }
+}