2 package org.opendaylight.openflowjava.tools;
4 import java.util.ArrayList;
6 import javax.xml.bind.annotation.XmlAccessType;
7 import javax.xml.bind.annotation.XmlAccessorType;
8 import javax.xml.bind.annotation.XmlElement;
9 import javax.xml.bind.annotation.XmlRootElement;
10 import javax.xml.bind.annotation.XmlType;
14 * <p>Java class for anonymous complex type.
16 @XmlAccessorType(XmlAccessType.FIELD)
17 @XmlType(name = "", propOrder = {
20 @XmlRootElement(name = "configurations")
21 public class Configurations {
23 @XmlElement(required = true)
24 private List<ConfigurationType> configuration;
27 * Gets the value of the configuration property.
30 * This accessor method returns a reference to the live list,
31 * not a snapshot. Therefore any modification you make to the
32 * returned list will be present inside the JAXB object.
33 * This is why there is not a <CODE>set</CODE> method for the configuration property.
36 * For example, to add a new item, do as follows:
38 * getConfiguration().add(newItem);
43 * Objects of the following type(s) are allowed in the list
44 * {@link ConfigurationType }
48 public List<ConfigurationType> getConfiguration() {
49 if (configuration == null) {
50 configuration = new ArrayList<>();
52 return this.configuration;
55 public void setConfiguration(List<ConfigurationType> configuration) {
56 this.configuration = configuration;